r20431 by craig -
scribus-commit
scribus-commit at lists.scribus.net
Mon Sep 28 20:28:39 UTC 2015
Author: craig
Date: Mon Sep 28 20:28:39 2015
New Revision: 20431
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20431
Log:
#13380: Fix regression for language switching from command line
Modified:
trunk/Scribus/scribus/scribusapp.cpp
Modified: trunk/Scribus/scribus/scribusapp.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20431&path=/trunk/Scribus/scribus/scribusapp.cpp
==============================================================================
--- trunk/Scribus/scribus/scribusapp.cpp (original)
+++ trunk/Scribus/scribus/scribusapp.cpp Mon Sep 28 20:28:39 2015
@@ -164,9 +164,6 @@
QStringList args = arguments();
int argsc = args.count();
- //Init translations
- initLang();
-
useGUI = true;
int argi = 1;
for( ; argi < argsc; argi++) { //handle options (not positional parameters)
@@ -267,7 +264,8 @@
filesToLoad.append(fileName);
}
}
-
+ //Init translations
+ initLang();
//Show command line info
if (header) {
More information about the scribus-commit
mailing list