Look for gtk3_preview instead of gtk_preview

gtk3_preview was removed in 9323a96a9e7ec93f735e10ee671c3824b35429df in kde-gtk-config


(cherry picked from commit 9229ca9f7e)
wilder-5.22
David Redondo 5 years ago committed by Nate Graham
parent e24548cda0
commit 6fed05d466
  1. 2
      kcms/style/gtkpage.cpp

@ -53,7 +53,7 @@ QString GtkPage::gtkThemeFromConfig()
bool GtkPage::gtkPreviewAvailable() bool GtkPage::gtkPreviewAvailable()
{ {
return !QStandardPaths::findExecutable(QStringLiteral("gtk_preview"), {CMAKE_INSTALL_FULL_LIBEXECDIR}).isEmpty(); return !QStandardPaths::findExecutable(QStringLiteral("gtk3_preview"), {CMAKE_INSTALL_FULL_LIBEXECDIR}).isEmpty();
} }
void GtkPage::showGtkPreview() void GtkPage::showGtkPreview()

Loading…
Cancel
Save