aboutsummaryrefslogtreecommitdiff
path: root/libLumina/LuminaSingleApplication.h
diff options
context:
space:
mode:
authorKen Moore <ken@pcbsd.org>2014-12-30 11:20:57 -0500
committerKen Moore <ken@pcbsd.org>2014-12-30 11:20:57 -0500
commit3cee91a627ecced62f7eefdc38850ea5499f761c (patch)
tree93f59249f318a34ad5d9789bac1d155596eb7ff5 /libLumina/LuminaSingleApplication.h
parentCommit some more XLib->XCB conversions (everything for the task manager), and... (diff)
downloadlumina-3cee91a627ecced62f7eefdc38850ea5499f761c.tar.gz
lumina-3cee91a627ecced62f7eefdc38850ea5499f761c.tar.bz2
lumina-3cee91a627ecced62f7eefdc38850ea5499f761c.zip
Clean up how translations are loaded for all the Lumina utilities, and also apply the relative path fixes to all LSingleApplication's forwarded inputs.
Diffstat (limited to 'libLumina/LuminaSingleApplication.h')
-rw-r--r--libLumina/LuminaSingleApplication.h6
1 files changed, 4 insertions, 2 deletions
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 <QApplication>
#include <QString>
#include <QStringList>
#include <QLocalServer>
#include <QLockFile>
+#include <LuminaUtils.h>
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();
bgstack15