Use QLatin1String instread of const char *

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=952497
This commit is contained in:
Kurt Hindenburg
2009-04-12 02:02:20 +00:00
parent 370f03e2de
commit 8aa7acde0b
2 changed files with 6 additions and 6 deletions

View File

@@ -146,7 +146,7 @@ Profile::Ptr SessionManager::loadProfile(const QString& shortPath)
// load the profile
ProfileReader* reader = 0;
if ( path.endsWith(".desktop") )
if ( path.endsWith(QLatin1String(".desktop")) )
reader = 0; // new KDE3ProfileReader;
else
reader = new KDE4ProfileReader;