Changeset f0ce4d0


Ignore:
Timestamp:
01/13/10 09:40:31 (12 years ago)
Author:
pavelpa <pavelpa@…>
Branches:
master, qt5
Children:
c2d66b2
Parents:
72f6fe4
Message:

added application icon

Location:
src
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • src/app/main.cpp

    r72f6fe4 rf0ce4d0  
    55int main(int argc, char *argv[])
    66{
     7    Q_INIT_RESOURCE(icons);
     8
    79    QApplication a(argc, argv);
     10    QApplication::setWindowIcon(QIcon(":/icons/fosdem.png"));
    811
    912    MainWindow w;
     
    1114    return a.exec();
    1215}
     16
  • src/icons.qrc

    r72f6fe4 rf0ce4d0  
    77    <file>icons/expand.png</file>
    88    <file>icons/collapse.png</file>
     9    <file>icons/fosdem.png</file>
    910</qresource>
    1011</RCC>
Note: See TracChangeset for help on using the changeset viewer.