Skip to content

Commit

Permalink
gui: drop some tooltip prefixes
Browse files Browse the repository at this point in the history
- the "Nextcloud:" application prefix now only appears on Windows
- all Folder connections won't have the "Folder:" prefix anymore

Signed-off-by: Jyrki Gadinger <[email protected]>
  • Loading branch information
nilsding committed Aug 30, 2024
1 parent 0627361 commit c9fbcec
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/owncloudgui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ void ownCloudGui::slotComputeOverallSyncStatus()
folder->syncResult().hasUnresolvedConflicts(),
folder->syncPaused(),
folder->syncEngine().progressInfo());
allStatusStrings += tr("Folder %1: %2").arg(folder->shortGuiLocalPath(), folderMessage);
allStatusStrings += tr("%1: %2").arg(folder->shortGuiLocalPath(), folderMessage);
}
#ifdef BUILD_FILE_PROVIDER_MODULE
for (const auto &accountId : syncingFileProviderAccounts) {
Expand Down
4 changes: 4 additions & 0 deletions src/gui/systray.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,11 @@ void Systray::showTalkMessage(const QString &title, const QString &message, cons

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
Expand Down

0 comments on commit c9fbcec

Please sign in to comment.