Skip to content

armgit / krita

Public Imported from GitHub
0

Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.

C++

Restore missing sentinel value and fix out of bounds crash

Victor Wåhlström3001ea52f384
diff --git a/libs/widgetutils/config/kstandardaction_p.h b/libs/widgetutils/config/kstandardaction_p.h
index f2aa8ebeed..9d0a29b824 100644
--- a/libs/widgetutils/config/kstandardaction_p.h
+++ b/libs/widgetutils/config/kstandardaction_p.h
@@ -101,6 +101,7 @@ static constexpr KStandardActionInfo g_rgActionInfo[] = {
{ SwitchApplicationLanguage, KStandardShortcut::SwitchApplicationLanguage, "switch_application_language", QT_TRANSLATE_NOOP("KStandardActions", "Configure &Language…"), {}, "preferences-desktop-locale" },
{ AboutApp, KStandardShortcut::AccelNone, "help_about_app", QT_TRANSLATE_NOOP("KStandardActions", "&About %1"), {}, nullptr },
{ AboutKDE, KStandardShortcut::AccelNone, "help_about_kde", QT_TRANSLATE_NOOP("KStandardActions", "About &KDE"), {}, "kde" },
+ { ActionNone, KStandardShortcut::AccelNone, {}, {}, {}, {} },
};