Changeset 34


Ignore:
Timestamp:
01/06/08 15:08:05 (4 years ago)
Author:
roeland
Message:

Also provide Icon for main window and all childrens now!

Location:
gui
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • gui/main_window.cpp

    r33 r34  
    1414    slidingVolume = false; 
    1515 
    16     //Tray Icon stuf 
     16    //Icon 
     17    icon = QIcon("images/icon.svg"); 
     18    this->setWindowIcon(icon); 
     19 
     20    //Tray stuf 
    1721    setupTrayIcon(); 
    1822    if (settings.value("systemtray").toBool()) { 
     
    114118    trayIconMenu->addAction(quitAction); 
    115119 
    116     //Setup Icon 
    117     QIcon icon("images/icon.svg");   
    118      
    119120    //Mix it 
    120121    trayIcon = new QSystemTrayIcon(this); 
  • gui/main_window.h

    r31 r34  
    3434        QSortFilterProxyModel libraryProxyModel; 
    3535        bool slidingVolume; 
     36        QIcon icon; 
    3637 
    3738        void setupTrayIcon(); 
Note: See TracChangeset for help on using the changeset viewer.