From: Flavio Tordini Date: Wed, 4 Nov 2009 23:36:16 +0000 (+0100) Subject: window icon X-Git-Tag: 0.8~25 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=721bddbb8c6ef7fd03d4f72c761cf1973597d1ed;p=minitube window icon --- diff --git a/src/main.cpp b/src/main.cpp index 867fa39..f4772c6 100755 --- a/src/main.cpp +++ b/src/main.cpp @@ -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);