Fix service prefix for KWin Effects

This commit is contained in:
Martin Gräßlin 2012-10-26 13:10:22 +02:00
parent a8ba890850
commit 4da55c78e6

View File

@ -333,7 +333,7 @@ int main(int argc, char **argv)
} else if (type.compare(i18nc("package type", "kwineffect"), Qt::CaseInsensitive) == 0 || } else if (type.compare(i18nc("package type", "kwineffect"), Qt::CaseInsensitive) == 0 ||
type.compare("kwineffect", Qt::CaseInsensitive) == 0) { type.compare("kwineffect", Qt::CaseInsensitive) == 0) {
packageRoot = "kwin/effects/"; packageRoot = "kwin/effects/";
servicePrefix = "kwin-effect-"; servicePrefix = "kwin4_effect_";
pluginTypes << "KWin/Effect"; pluginTypes << "KWin/Effect";
} else if (type.compare(i18nc("package type", "windowswitcher"), Qt::CaseInsensitive) == 0 || } else if (type.compare(i18nc("package type", "windowswitcher"), Qt::CaseInsensitive) == 0 ||
type.compare("windowswitcher", Qt::CaseInsensitive) == 0) { type.compare("windowswitcher", Qt::CaseInsensitive) == 0) {