File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -141,15 +141,18 @@ void TopBar::SetupPopupMenus() {
141141 quitMenuQuit = new QAction (" Quit" , this );
142142 connect (quitMenuQuit, SIGNAL (triggered ()), this , SLOT (quitMenuQuit_clicked ()));
143143
144+ #if 0
144145 quitMenuOnTray = new QAction("Jump to system tray", this);
145146 connect(quitMenuOnTray, SIGNAL(triggered()), this, SLOT(quitMenuOnTray_clicked()));
147+ #endif
146148
147149 quitMenu = new QMenu (this );
148- quitMenu->addAction (quitMenuOnTray);
150+ // quitMenu->addAction(quitMenuOnTray);
149151 quitMenu->addAction (quitMenuQuit);
150152}
151153
152154void TopBar::SetupTrayIcon () {
155+ #if 0
153156 /* TODO: Fix Crash... */
154157 tray = new QSystemTrayIcon(QIcon(":/images/keyboard_layout_viewer.png"), this);
155158 tray->setToolTip("OpenBangla Keyboard");
@@ -168,6 +171,7 @@ void TopBar::SetupTrayIcon() {
168171 trayMenu->addAction(quitMenuQuit);
169172
170173 tray->setContextMenu(trayMenu);
174+ #endif
171175}
172176
173177void TopBar::RefreshLayouts () {
You can’t perform that action at this time.
0 commit comments