File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -158,6 +158,7 @@ AppMenuWidget::AppMenuWidget(QWidget *parent)
158158 locationsContainingApps.removeDuplicates (); // Make unique
159159 findAppsInside (locationsContainingApps, m_systemMenu);
160160
161+ /*
161162 QMenu *submenuPrefs = m_systemMenu->addMenu("Preferences (deprecated)");
162163
163164 QAction *displaysAction = submenuPrefs->addAction("Displays");
@@ -168,6 +169,7 @@ AppMenuWidget::AppMenuWidget(QWidget *parent)
168169
169170 QAction *soundAction = submenuPrefs->addAction("Sound");
170171 connect(soundAction, SIGNAL(triggered()), this, SLOT(actionSound()));
172+ */
171173
172174 QAction *logoutAction = m_systemMenu->addAction (" Log Out" );
173175 connect (logoutAction, SIGNAL (triggered ()), this , SLOT (actionLogout ()));
@@ -566,6 +568,7 @@ void AppMenuWidget::actionLaunch(QAction *action)
566568 QProcess::startDetached (" launch" , pathToBeLaunched);
567569}
568570
571+ /*
569572void AppMenuWidget::actionDisplays()
570573{
571574 qDebug() << "actionDisplays() called";
@@ -590,6 +593,7 @@ void AppMenuWidget::actionSound()
590593 qDebug() << "actionSound() called";
591594 QProcess::startDetached("dsbmixer");
592595}
596+ */
593597
594598void AppMenuWidget::actionLogout ()
595599{
Original file line number Diff line number Diff line change @@ -62,9 +62,9 @@ class AppMenuWidget : public QWidget
6262public slots:
6363 void actionAbout ();
6464 void actionLaunch (QAction *action);
65- void actionDisplays ();
66- void actionShortcuts ();
67- void actionSound ();
65+ // void actionDisplays();
66+ // void actionShortcuts();
67+ // void actionSound();
6868 void actionLogout ();
6969 bool which (QString command);
7070
You can’t perform that action at this time.
0 commit comments