Use single quotes for single char in kcmtabbox (Krazy issue no 6)
svn path=/trunk/KDE/kdebase/workspace/; revision=1023776
This commit is contained in:
parent
c6a1918d97
commit
87c2711665
1 changed files with 2 additions and 2 deletions
|
@ -413,7 +413,7 @@ void KWinTabBoxConfig::defaults()
|
|||
bool KWinTabBoxConfig::effectEnabled(const QString& effect, const KConfigGroup& cfg) const
|
||||
{
|
||||
KService::List services = KServiceTypeTrader::self()->query(
|
||||
"KWin/Effect", "[X-KDE-PluginInfo-Name] == 'kwin4_effect_" + effect + "'" );
|
||||
"KWin/Effect", "[X-KDE-PluginInfo-Name] == 'kwin4_effect_" + effect + '\'' );
|
||||
if( services.isEmpty())
|
||||
return false;
|
||||
QVariant v = services.first()->property( "X-KDE-PluginInfo-EnabledByDefault" );
|
||||
|
@ -493,7 +493,7 @@ void KWinTabBoxConfig::aboutEffectClicked( KWinTabBoxConfigForm* ui )
|
|||
default:
|
||||
return;
|
||||
}
|
||||
services = trader->query("KWin/Effect", "[X-KDE-PluginInfo-Name] == 'kwin4_effect_" + effect + "'");
|
||||
services = trader->query("KWin/Effect", "[X-KDE-PluginInfo-Name] == 'kwin4_effect_" + effect + '\'');
|
||||
if( services.isEmpty() )
|
||||
return;
|
||||
KPluginInfo pluginInfo( services.first() );
|
||||
|
|
Loading…
Reference in a new issue