Commit 0897a3a7 authored by Noah Davis's avatar Noah Davis 🌵
Browse files

Fix sidebar toggle button having no icon with Fusion and Breeze style

Also removing the icon for toggle thumbnail bar button to preserve the
existing visual appearance.
parent 0183ff9d
Pipeline #242934 passed with stage
in 6 minutes and 9 seconds
......@@ -426,7 +426,6 @@ ViewMainPage::ViewMainPage(QWidget *parent, SlideShow *slideShow, KActionCollect
d->mToggleThumbnailBarAction = view->add<KToggleAction>(QStringLiteral("toggle_thumbnailbar"));
d->mToggleThumbnailBarAction->setText(i18n("Show Thumbnails"));
d->mToggleThumbnailBarAction->setIcon(QIcon::fromTheme(QStringLiteral("folder-image")));
// clang-format off
// i18n: For languages that are read right to left, "right side" refers to the left side in this context.
d->mToggleThumbnailBarAction->setWhatsThis(xi18nc("@info:whatsthis", "<para>This toggles a small bar showing all the other images in the current folder. "
......
......@@ -36,7 +36,7 @@ StatusBarToolButton::StatusBarToolButton(QWidget *parent)
: QToolButton(parent)
, mGroupPosition(NotGrouped)
{
setToolButtonStyle(Qt::ToolButtonTextOnly);
setToolButtonStyle(Qt::ToolButtonTextBesideIcon);
setFocusPolicy(Qt::NoFocus);
setSizePolicy(QSizePolicy::Minimum, QSizePolicy::Minimum);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment