]> git.sur5r.net Git - minitube/commitdiff
window icon
authorFlavio Tordini <flavio.tordini@gmail.com>
Wed, 4 Nov 2009 23:36:16 +0000 (00:36 +0100)
committerFlavio Tordini <flavio.tordini@gmail.com>
Wed, 4 Nov 2009 23:36:16 +0000 (00:36 +0100)
src/main.cpp

index 867fa39810239d4554a5eede4cbc9804dabe1405..f4772c626a3315d3333c34c6ea48e76f2d53685b 100755 (executable)
@@ -46,7 +46,8 @@ int main(int argc, char **argv) {
         QString size = QString::number(iconSizes[i]);
         QString png = dataDir + "/" + size + "x" + size + "/minitube.png";
         // qDebug() << png;
-        appIcon.addFile(png);
+        appIcon.addFile(png, QSize(iconSizes[i], iconSizes[i]));
+        // appIcon.addPixmap(QPixmap(png));
     }
     mainWin.setWindowIcon(appIcon);