added application icon
authorpavelpa <pavelpa@localhost>
Wed, 13 Jan 2010 08:40:31 +0000 (08:40 +0000)
committerpavelpa <pavelpa@localhost>
Wed, 13 Jan 2010 08:40:31 +0000 (08:40 +0000)
src/app/main.cpp
src/icons.qrc
src/icons/fosdem.png [new file with mode: 0644]

index cc63c67..f39da7a 100644 (file)
@@ -4,9 +4,13 @@
 
 int main(int argc, char *argv[])
 {
+    Q_INIT_RESOURCE(icons);
+
     QApplication a(argc, argv);
+    QApplication::setWindowIcon(QIcon(":/icons/fosdem.png"));
 
     MainWindow w;
     w.show();
     return a.exec();
 }
+
index 3579279..d96b3fe 100644 (file)
@@ -6,5 +6,6 @@
     <file>icons/alarm-off.png</file>
     <file>icons/expand.png</file>
     <file>icons/collapse.png</file>
+    <file>icons/fosdem.png</file>
 </qresource>
 </RCC>
diff --git a/src/icons/fosdem.png b/src/icons/fosdem.png
new file mode 100644 (file)
index 0000000..c733163
Binary files /dev/null and b/src/icons/fosdem.png differ