kwin: adjust to recent changes

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
Ivailo Monev 2016-10-13 16:44:58 +00:00
parent a606bf7a21
commit 56a014cc4c

View file

@ -913,7 +913,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, false)) // TODO KF5 - remove *then* obsolete last parameter which is *now* mandatory
, m_temporaryRulesMessages(new KXMessages("_KDE_NET_WM_TEMPORARY_RULES"))
{
connect(m_temporaryRulesMessages.data(), SIGNAL(gotMessage(QString)), SLOT(temporaryRulesMessage(QString)));
connect(m_updateTimer, SIGNAL(timeout()), SLOT(save()));