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++
Qt6: fix signal name
Halla Rempt317985bda7c7
diff --git a/libs/widgetutils/config/krecentfilesaction.cpp b/libs/widgetutils/config/krecentfilesaction.cppindex c058d000cb..e87ff9c11f 100644--- a/libs/widgetutils/config/krecentfilesaction.cpp+++ b/libs/widgetutils/config/krecentfilesaction.cpp@@ -98,8 +98,11 @@ void KRecentFilesActionPrivate::init()clearAction->setObjectName(QLatin1String("clear_action"));clearAction->setVisible(false);q->setEnabled(false);+#if (QT_VERSION < QT_VERSION_CHECK(6, 0, 0))q->connect(q, SIGNAL(triggered(QAction*)), SLOT(_k_urlSelected(QAction*)));-+#else+ q->connect(q, SIGNAL(actionTriggered(QAction*)), SLOT(_k_urlSelected(QAction*)));+#endifQString baseStyleName = q->menu()->style()->objectName();if (baseStyleName != QLatin1String("windows")) {// Force Fusion theme because other themes like Breeze doesn't