Changeset 81 for trunk/src/gui/mainwindow.cpp
- Timestamp:
- 01/13/06 02:43:50 (3 years ago)
- Files:
-
- 1 modified
-
trunk/src/gui/mainwindow.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gui/mainwindow.cpp
r74 r81 33 33 createActions(); 34 34 createMenus(); 35 35 36 36 /* Create a new TorControl object, used to communicate with and manipulate Tor */ 37 37 _torControl = new TorControl(); … … 96 96 _toolsMenu->addAction(_bandwidthAct); 97 97 _toolsMenu->addAction(_messageAct); 98 99 #if defined(Q_WS_MAC) 100 /* The File, Help, and Configure menus will get merged into the application 101 * menu by Qt. */ 102 _menuBar = new QMenuBar(); 103 _fileMenu = _menuBar->addMenu(tr("File")); 104 _fileMenu->addAction(_exitAct); 105 _torMenu = _menuBar->addMenu(tr("Tor")); 106 _torMenu->addAction(_startAct); 107 _torMenu->addAction(_stopAct); 108 _torMenu->addAction(_configAct); 109 _menuBar->addMenu(_toolsMenu); 110 _helpMenu = _menuBar->addMenu(tr("Help")); 111 _helpMenu->addAction(_aboutAct); 112 #endif 98 113 } 99 114
