diff --git a/src/plugins/imageviewer/imageviewer.cpp b/src/plugins/imageviewer/imageviewer.cpp index be6f620bf31..441d33dc6ba 100644 --- a/src/plugins/imageviewer/imageviewer.cpp +++ b/src/plugins/imageviewer/imageviewer.cpp @@ -158,8 +158,19 @@ void ImageViewer::ctor() updateIconByTheme(d->actionOutline, QLatin1String("emblem-photos")); auto setAsDefault = new QAction(Tr::tr("Set as Default"), d->toolbar); - setAsDefault->setToolTip(Tr::tr("Use the current settings for background, outline, and fitting " - "to screen as the default for new image viewers.")); + const auto updateSetAsDefaultToolTip = [this, setAsDefault] { + const ImageView::Settings settings = d->imageView->settings(); + const QString on = Tr::tr("on"); + const QString off = Tr::tr("off"); + setAsDefault->setToolTip( + "
" + + Tr::tr("Use the current settings for background, outline, and fitting " + "to screen as the default for new image viewers. Current default:") + + "