Skip to content

Commit

Permalink
Remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
TheOneRing committed Nov 10, 2023
1 parent 3f7bdae commit 8f32dba
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
7 changes: 0 additions & 7 deletions src/gui/application.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -252,13 +252,6 @@ void Application::openVirtualFile(const QString &filename)
});
}

void Application::tryTrayAgain()
{
qCInfo(lcApplication) << "Trying tray icon, tray available:" << QSystemTrayIcon::isSystemTrayAvailable();
if (!_gui->contextMenuVisible())
_gui->hideAndShowTray();
}

bool Application::eventFilter(QObject *obj, QEvent *event)
{
#ifdef Q_OS_MAC
Expand Down
3 changes: 0 additions & 3 deletions src/gui/application.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,6 @@ public slots:
*/
void openVirtualFile(const QString &filename);

/// Attempt to show() the tray icon again. Used if no systray was available initially.
void tryTrayAgain();

protected:
bool eventFilter(QObject *obj, QEvent *event) override;

Expand Down

0 comments on commit 8f32dba

Please sign in to comment.