[education/rkward] rkward/windows: Set at least action text before KF5 5.67

Thomas Friedrichsmeier null at kde.org
Thu Mar 31 16:18:53 BST 2022


Git commit 8877b701a4e23b9cce9b38c8be80aa9013ce26af by Thomas Friedrichsmeier.
Committed on 31/03/2022 at 15:18.
Pushed by tfry into branch 'master'.

Set at least action text before KF5 5.67

M  +1    -1    rkward/windows/rktoplevelwindowgui.cpp

https://invent.kde.org/education/rkward/commit/8877b701a4e23b9cce9b38c8be80aa9013ce26af

diff --git a/rkward/windows/rktoplevelwindowgui.cpp b/rkward/windows/rktoplevelwindowgui.cpp
index 81cb553b..528e8942 100644
--- a/rkward/windows/rktoplevelwindowgui.cpp
+++ b/rkward/windows/rktoplevelwindowgui.cpp
@@ -108,7 +108,7 @@ RKTopLevelWindowGUI::RKTopLevelWindowGUI(KXmlGuiWindow *for_window) : QObject(fo
 	// Color scheme action. NOTE: selection is non-permanent for KF5 <= 5.87.0, auto-saved afterwards. Apparently, auto-save cannot be implemented for earlier versions within a few lines of code
 	KColorSchemeManager *manager = new KColorSchemeManager(this);
 #if KCONFIGWIDGETS_VERSION < QT_VERSION_CHECK(5, 67, 0)
-	actionCollection()->addAction(QStringLiteral("colorscheme_menu"), manager->createSchemeSelectionMenu(QString(), this));
+	actionCollection()->addAction(QStringLiteral("colorscheme_menu"), manager->createSchemeSelectionMenu(i18n("Color Scheme"), QString(), this));
 #else
 	actionCollection()->addAction(QStringLiteral("colorscheme_menu"), manager->createSchemeSelectionMenu(this));
 #endif


More information about the rkward-tracker mailing list