revert to NON obosolete signtature

the signature is obsolete in KF5 but mandatory in KDE4
not using it so far breaks the protocol thus kstart temp.
rules fail

REVIEW: 110386
icc-effect-5.14.5
Thomas Lübking 2013-05-10 22:08:47 +02:00
parent b3a12c513e
commit 18332d3ddb
1 changed files with 1 additions and 1 deletions

View File

@ -920,7 +920,7 @@ RuleBook::RuleBook(QObject *parent)
: QObject(parent)
, m_updateTimer(new QTimer(this))
, m_updatesDisabled(false)
, m_temporaryRulesMessages(new KXMessages("_KDE_NET_WM_TEMPORARY_RULES", NULL))
, m_temporaryRulesMessages(new KXMessages("_KDE_NET_WM_TEMPORARY_RULES", NULL, false)) // TODO KF5 - remove *then* obsolete last parameter which is *now* mandatory
{
connect(m_temporaryRulesMessages.data(), SIGNAL(gotMessage(QString)), SLOT(temporaryRulesMessage(QString)));
connect(m_updateTimer, SIGNAL(timeout()), SLOT(save()));