PKGBUILDs/community/gmic/gmic-qt-fix-build.patch

23 lines
773 B
Diff
Raw Normal View History

2020-11-16 22:25:51 +00:00
diff --git a/src/Host/digiKam/gmicqttoolplugin.cpp b/src/Host/digiKam/gmicqttoolplugin.cpp
index c8da48d..b95c2c1 100644
--- a/src/Host/digiKam/gmicqttoolplugin.cpp
+++ b/src/Host/digiKam/gmicqttoolplugin.cpp
@@ -35,7 +35,7 @@
// Local includes
#include "MainWindow.h"
-#include "Widgets/LanguageSelectionWidget.h"
+#include "LanguageSettings.h"
#include "DialogSettings.h"
#include "gmic_qt.h"
@@ -118,7 +118,7 @@ void GmicQtToolPlugin::slotGmicQt()
DialogSettings::loadSettings(GmicQt::GuiApplication);
// Translate according to current locale or configured language
- QString lang = LanguageSelectionWidget::configuredTranslator();
+ QString lang = LanguageSettings::configuredTranslator();
if (!lang.isEmpty() && (lang != "en"))
{