Krazy fix QLatin1String.

SVN_SILENT

svn path=/trunk/KDE/kdebase/workspace/; revision=1121820
This commit is contained in:
Martin Gräßlin 2010-05-02 10:37:05 +00:00
parent 88f5c69a23
commit 42021bc3e3
2 changed files with 2 additions and 2 deletions

View file

@ -152,7 +152,7 @@ void KWinDecorationConfigDialog::slotSelectionChanged()
QString KWinDecorationConfigDialog::styleToConfigLib( const QString& styleLib ) const
{
if( styleLib.startsWith( "kwin3_" ))
if( styleLib.startsWith( QLatin1String( "kwin3_" )))
return "kwin_" + styleLib.mid( 6 ) + "_config";
else
return styleLib + "_config";

View file

@ -90,7 +90,7 @@ void DecorationModel::findDecorations()
const KDesktopFile desktopFile( filename );
const QString libName = desktopFile.desktopGroup().readEntry( "X-KDE-Library" );
if( !libName.isEmpty() && libName.startsWith( "kwin3_" ) )
if( !libName.isEmpty() && libName.startsWith( QLatin1String( "kwin3_" ) ) )
{
if( libName == "kwin3_aurorae" )
{