Advance KDE, Qt, and Wayland recipe sources
This commit is contained in:
@@ -99,7 +99,6 @@ PUBLIC
|
||||
PRIVATE
|
||||
#QNetworkAccessManager in kaboutapplicationpersonmodel_p
|
||||
#QPrinter in kshortcutseditor
|
||||
################ Qt6::CorePrivate #QSystemLocale in initializeLanguages
|
||||
KF6::CoreAddons #KAboutData
|
||||
KF6::GuiAddons
|
||||
KF6::WidgetsAddons
|
||||
@@ -188,4 +187,3 @@ if (BUILD_QCH)
|
||||
COMPONENT Devel
|
||||
)
|
||||
endif()
|
||||
|
||||
|
||||
@@ -18,7 +18,6 @@
|
||||
#include <QPushButton>
|
||||
#include <QSettings>
|
||||
#include <QStandardPaths>
|
||||
//#include <private/qlocale_p.h>
|
||||
|
||||
#include <KLanguageButton>
|
||||
#include <KLocalizedString>
|
||||
@@ -75,10 +74,10 @@ void initializeLanguages()
|
||||
// Ideally setting the LANGUAGE would change the default QLocale too
|
||||
// but unfortunately this is too late since the QCoreApplication constructor
|
||||
// already created a QLocale at this stage so we need to set the reset it
|
||||
//////////////////////////////// // by triggering the creation and destruction of a QSystemLocale
|
||||
//////////////////////////////////////////// // by triggering the creation and destruction of a QSystemLocale
|
||||
// this is highly dependent on Qt internals, so may break, but oh well
|
||||
//////////////////////////////// QSystemLocale *dummy = new QSystemLocale();
|
||||
//////////////////////////////// delete dummy;
|
||||
//////////////////////////////////////////// QSystemLocale *dummy = new QSystemLocale();
|
||||
//////////////////////////////////////////// delete dummy;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user