diff --git a/src/gui/mainwindow.cpp b/src/gui/mainwindow.cpp index e7a526a48..e07b75805 100644 --- a/src/gui/mainwindow.cpp +++ b/src/gui/mainwindow.cpp @@ -1540,27 +1540,9 @@ void MainWindow::reloadSessionStats() } #else if (m_systrayIcon) { -#ifdef Q_OS_UNIX - const QString toolTip = QString::fromLatin1( - "
" - "qBittorrent" - "
" - "
" - " %2" - "
" - "
" - " %4" - "
") - .arg(UIThemeManager::instance()->getIconPath("downloading_small") - , tr("DL speed: %1", "e.g: Download speed: 10 KiB/s").arg(Utils::Misc::friendlyUnit(status.payloadDownloadRate, true)) - , UIThemeManager::instance()->getIconPath("seeding") - , tr("UP speed: %1", "e.g: Upload speed: 10 KiB/s").arg(Utils::Misc::friendlyUnit(status.payloadUploadRate, true))); -#else - // OSes such as Windows do not support html here const QString toolTip = QString::fromLatin1("%1\n%2").arg( tr("DL speed: %1", "e.g: Download speed: 10 KiB/s").arg(Utils::Misc::friendlyUnit(status.payloadDownloadRate, true)) , tr("UP speed: %1", "e.g: Upload speed: 10 KiB/s").arg(Utils::Misc::friendlyUnit(status.payloadUploadRate, true))); -#endif // Q_OS_UNIX m_systrayIcon->setToolTip(toolTip); // tray icon } #endif // Q_OS_MACOS