Skip to content

Commit

Permalink
gui: remove Systray::setToolTip
Browse files Browse the repository at this point in the history
Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
  • Loading branch information
nilsding committed Sep 2, 2024
1 parent a19b493 commit 239faec
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
9 changes: 0 additions & 9 deletions src/gui/systray.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -566,15 +566,6 @@ void Systray::showTalkMessage(const QString &title, const QString &message, cons
#endif
}

void Systray::setToolTip(const QString &tip)
{
#ifdef Q_OS_WIN
QSystemTrayIcon::setToolTip(tr("%1: %2").arg(Theme::instance()->appNameGUI(), tip));
#else
QSystemTrayIcon::setToolTip(tip);
#endif
}

bool Systray::syncIsPaused() const
{
return _syncIsPaused;
Expand Down
1 change: 0 additions & 1 deletion src/gui/systray.h
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ public slots:
void showMessage(const QString &title, const QString &message, QSystemTrayIcon::MessageIcon icon = Information);
void showUpdateMessage(const QString &title, const QString &message, const QUrl &webUrl);
void showTalkMessage(const QString &title, const QString &message, const QString &replyTo, const QString &token, const OCC::AccountStatePtr &accountState);
void setToolTip(const QString &tip);

void createCallDialog(const OCC::Activity &callNotification, const OCC::AccountStatePtr accountState);
void createEditFileLocallyLoadingDialog(const QString &fileName);
Expand Down

0 comments on commit 239faec

Please sign in to comment.