Changeset 36


Ignore:
Timestamp:
01/06/08 16:24:58 (4 years ago)
Author:
sander
Message:

Added tooltip to system tray

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gui/main_window.cpp

    r35 r36  
    8282}*/ 
    8383 
    84 void MainWindow::closeEvent(QCloseEvent *event)  
     84void MainWindow::closeEvent(QCloseEvent *event) 
    8585{ 
    8686    if (trayIcon->isVisible()) { 
     
    113113 
    114114    connect(trayIcon, SIGNAL(activated(QSystemTrayIcon::ActivationReason)), this, SLOT(trayIconClicked(QSystemTrayIcon::ActivationReason))); 
    115      
     115 
    116116    //Setup Menu 
    117117    trayIconMenu = new QMenu(this); 
     
    124124    trayIcon->setContextMenu(trayIconMenu); 
    125125    trayIcon->setIcon(icon); 
     126    trayIcon->setToolTip("QtMPC"); 
    126127} 
    127128 
Note: See TracChangeset for help on using the changeset viewer.