Changeset 31 for gui/main_window.cpp
- Timestamp:
- 01/06/08 13:39:07 (4 years ago)
- File:
-
- 1 edited
-
gui/main_window.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
gui/main_window.cpp
r29 r31 2 2 #include <QtGui> 3 3 #include <QIcon> 4 #include <QDebug> 4 5 5 6 #include "main_window.h" … … 8 9 MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent) 9 10 { 11 QSettings settings; 10 12 setupUi(this); 11 13 12 14 slidingVolume = false; 15 16 //Tray Icon stuf 17 setupTrayIcon(); 18 if (settings.value("systemtray").toBool()) { 19 trayIcon->show(); 20 } 13 21 14 22 // Start connection thread … … 58 66 // Timer 59 67 connect(&statusTimer, SIGNAL(timeout()), &mpd, SLOT(getStatus())); 60 61 //Tray icon62 setupTrayIcon();63 if (settings.value("systemtray").toBool()) {64 trayIcon->show();65 }66 68 67 69 mpd.getStatus();
Note: See TracChangeset
for help on using the changeset viewer.
