Fix built-in Oxygen support
authorManuel Nickschas <sputnick@quassel-irc.org>
Sun, 28 Sep 2008 20:37:25 +0000 (22:37 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Sun, 28 Sep 2008 20:37:25 +0000 (22:37 +0200)
src/uisupport/iconloader.cpp

index d5dbade..12cc59e 100644 (file)
@@ -72,7 +72,7 @@ void IconLoader::setTheme(const QString &theme) {
       _themedIconDirNames.append(path);
   }
   // Resource for system theme :/icons/$theme
       _themedIconDirNames.append(path);
   }
   // Resource for system theme :/icons/$theme
-  path = QString(":/icons/%2");
+  path = QString(":/icons/%1").arg(theme);
   if(QFile::exists(path))
     _themedIconDirNames.append(path);
 
   if(QFile::exists(path))
     _themedIconDirNames.append(path);