From 6fed05d466eafb848b3fe90cf3f702cbcb6770db Mon Sep 17 00:00:00 2001 From: David Redondo Date: Wed, 19 May 2021 13:27:38 +0200 Subject: [PATCH] Look for gtk3_preview instead of gtk_preview gtk3_preview was removed in 9323a96a9e7ec93f735e10ee671c3824b35429df in kde-gtk-config (cherry picked from commit 9229ca9f7e03fc98fb5a30b3edecf84957b1148f) --- kcms/style/gtkpage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kcms/style/gtkpage.cpp b/kcms/style/gtkpage.cpp index 1fbe5c021..9ff400cf6 100644 --- a/kcms/style/gtkpage.cpp +++ b/kcms/style/gtkpage.cpp @@ -53,7 +53,7 @@ QString GtkPage::gtkThemeFromConfig() 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()