Changeset 40 for gui/main_window.cpp
- Timestamp:
- 01/06/08 17:37:58 (4 years ago)
- File:
-
- 1 edited
-
gui/main_window.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
gui/main_window.cpp
r39 r40 6 6 #include "main_window.h" 7 7 #include "preferences_dialog.h" 8 #include "about_dialog.h" 8 9 9 10 MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent) … … 53 54 // GUI 54 55 connect(action_Preferences, SIGNAL(triggered(bool)), this, SLOT(showPreferencesDialog())); 56 connect(action_About, SIGNAL(triggered(bool)), this, SLOT(showAboutDialog())); 55 57 connect(volumeSlider, SIGNAL(sliderPressed()), this, SLOT(volumeSliderPressed())); 56 58 connect(volumeSlider, SIGNAL(sliderReleased()), this, SLOT(setVolume())); … … 132 134 connect(&pref, SIGNAL(systemTraySet(bool)), trayIcon, SLOT(setVisible(bool))); 133 135 pref.exec(); 136 } 137 138 void MainWindow::showAboutDialog() 139 { 140 AboutDialog about(this); 141 about.exec(); 134 142 } 135 143
Note: See TracChangeset
for help on using the changeset viewer.
