From 233b7e0e85a153888a766ad25fd6dcf47de80ffd Mon Sep 17 00:00:00 2001 From: Jyrki Gadinger Date: Mon, 2 Sep 2024 18:16:25 +0200 Subject: [PATCH] gui: remove Systray::setToolTip Signed-off-by: Jyrki Gadinger --- src/gui/systray.cpp | 5 ----- src/gui/systray.h | 1 - 2 files changed, 6 deletions(-) diff --git a/src/gui/systray.cpp b/src/gui/systray.cpp index c4d4672fe621b..a0153911e97ee 100644 --- a/src/gui/systray.cpp +++ b/src/gui/systray.cpp @@ -566,11 +566,6 @@ void Systray::showTalkMessage(const QString &title, const QString &message, cons #endif } -void Systray::setToolTip(const QString &tip) -{ - QSystemTrayIcon::setToolTip(tr("%1: %2").arg(Theme::instance()->appNameGUI(), tip)); -} - bool Systray::syncIsPaused() const { return _syncIsPaused; diff --git a/src/gui/systray.h b/src/gui/systray.h index cff48f33d5b35..7b17bab423aae 100644 --- a/src/gui/systray.h +++ b/src/gui/systray.h @@ -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);