From 721bddbb8c6ef7fd03d4f72c761cf1973597d1ed Mon Sep 17 00:00:00 2001 From: Flavio Tordini Date: Thu, 5 Nov 2009 00:36:16 +0100 Subject: [PATCH] window icon --- src/main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- 2.39.5