From 36ed622a61c5f824d155b0a335b344ce8546e673 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Sat, 3 Nov 2012 22:07:13 +0100 Subject: [PATCH] use a rules file dependednt from the kwin name kwinacriverulesrc vs kwinrulesrc --- rules.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rules.cpp b/rules.cpp index 406c76962d..f29e320e7e 100644 --- a/rules.cpp +++ b/rules.cpp @@ -965,7 +965,7 @@ void Workspace::loadWindowRules() delete rules.front(); rules.pop_front(); } - KConfig cfg("kwinrulesrc", KConfig::NoGlobals); + KConfig cfg(QLatin1String(KWIN_NAME) + "rulesrc", KConfig::NoGlobals); int count = cfg.group("General").readEntry("count", 0); for (int i = 1; i <= count; @@ -979,7 +979,7 @@ void Workspace::loadWindowRules() void Workspace::writeWindowRules() { rulesUpdatedTimer.stop(); - KConfig cfg("kwinrulesrc", KConfig::NoGlobals); + KConfig cfg(QLatin1String(KWIN_NAME) + "rulesrc", KConfig::NoGlobals); QStringList groups = cfg.groupList(); for (QStringList::ConstIterator it = groups.constBegin(); it != groups.constEnd();