diff options
Diffstat (limited to 'lumina-screenshot/main.cpp')
-rw-r--r-- | lumina-screenshot/main.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/lumina-screenshot/main.cpp b/lumina-screenshot/main.cpp index 02f6ae79..448547ca 100644 --- a/lumina-screenshot/main.cpp +++ b/lumina-screenshot/main.cpp @@ -10,18 +10,11 @@ int main(int argc, char ** argv) { + LTHEME::LoadCustomEnvSettings(); QApplication a(argc, argv); LuminaThemeEngine theme(&a); a.setApplicationName("Take Screenshot"); LUtils::LoadTranslation(&a, "lumina-screenshot"); - /*QTranslator translator; - QLocale mylocale; - QString langCode = mylocale.name(); - - if ( ! QFile::exists(LOS::LuminaShare()+"i18n/lumina-screenshot_" + langCode + ".qm" ) ) langCode.truncate(langCode.indexOf("_")); - translator.load( QString("lumina-screenshot_") + langCode, LOS::LuminaShare()+"i18n/" ); - a.installTranslator( &translator ); - qDebug() << "Locale:" << langCode;*/ MainUI w; QObject::connect(&theme,SIGNAL(updateIcons()), &w, SLOT(setupIcons()) ); |