From 3cee91a627ecced62f7eefdc38850ea5499f761c Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Tue, 30 Dec 2014 11:20:57 -0500 Subject: Clean up how translations are loaded for all the Lumina utilities, and also apply the relative path fixes to all LSingleApplication's forwarded inputs. --- libLumina/LuminaSingleApplication.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'libLumina/LuminaSingleApplication.h') diff --git a/libLumina/LuminaSingleApplication.h b/libLumina/LuminaSingleApplication.h index f61a90c0..ba342327 100644 --- a/libLumina/LuminaSingleApplication.h +++ b/libLumina/LuminaSingleApplication.h @@ -19,12 +19,12 @@ #ifndef _LUMINA_LIBRARY_SINGLE_APPLICATION_H #define _LUMINA_LIBRARY_SINGLE_APPLICATION_H -#include #include #include #include #include +#include class LSingleApplication : public QApplication{ Q_OBJECT @@ -34,12 +34,14 @@ public: bool isPrimaryProcess(); + QStringList inputlist; //in case the app wants access to modified inputs (relative path fixes and such) + private: bool isActive; QLockFile *lockfile; QLocalServer *lserver; QString cfile; - QStringList inputlist; + void PerformLockChecks(); -- cgit