Fix built-in Oxygen support
[quassel.git] / 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
-  path = QString(":/icons/%2");
+  path = QString(":/icons/%1").arg(theme);
   if(QFile::exists(path))
     _themedIconDirNames.append(path);