aboutsummaryrefslogtreecommitdiff
path: root/lumina-fm
diff options
context:
space:
mode:
authorKen Moore <ken@pcbsd.org>2015-01-02 08:02:54 -0500
committerKen Moore <ken@pcbsd.org>2015-01-02 08:02:54 -0500
commit119b2fc6a211fe7364f782abedc1a94f18738eb4 (patch)
tree360a6000bccbcdbbc58698ad42973d5cae25d77b /lumina-fm
parentMake sure that the system encoding is loaded with QTextCodec before doing any... (diff)
downloadlumina-119b2fc6a211fe7364f782abedc1a94f18738eb4.tar.gz
lumina-119b2fc6a211fe7364f782abedc1a94f18738eb4.tar.bz2
lumina-119b2fc6a211fe7364f782abedc1a94f18738eb4.zip
Make sure to adjust the lumina-[fm/config] main.cpp to account for the new LuminaSingleApplication usage (which auto-loads translation files).
Diffstat (limited to 'lumina-fm')
-rw-r--r--lumina-fm/main.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lumina-fm/main.cpp b/lumina-fm/main.cpp
index 1682dbb3..e3b475f1 100644
--- a/lumina-fm/main.cpp
+++ b/lumina-fm/main.cpp
@@ -24,12 +24,11 @@ int main(int argc, char ** argv)
}
if(in.isEmpty()){ in << QDir::homePath(); }*/
- LSingleApplication a(argc, argv);
+ LSingleApplication a(argc, argv, "lumina-fm"); //loads translations inside constructor
if( !a.isPrimaryProcess()){ return 0; }
qDebug() << "Loaded QApplication";
a.setApplicationName("Insight File Manager");
LuminaThemeEngine themes(&a);
- LUtils::LoadTranslation(&a, "lumina-fm");
//Get the list of inputs for the initial load
QStringList in = a.inputlist; //has fixes for relative paths and such
bgstack15