diff options
author | Ken Moore <ken@ixsystems.com> | 2018-09-06 17:59:57 -0400 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2018-09-06 17:59:57 -0400 |
commit | f1fce23e23d0a61ce588c5c089792a1e71dc0500 (patch) | |
tree | dd8fc110244fc6396f3a930ea4d0f7e022956f3f /src-qt5/core/libLumina/LuminaSingleApplication.h | |
parent | Checkpoint commit for some uncommitted changed to lumina-desktop-unified (diff) | |
download | lumina-f1fce23e23d0a61ce588c5c089792a1e71dc0500.tar.gz lumina-f1fce23e23d0a61ce588c5c089792a1e71dc0500.tar.bz2 lumina-f1fce23e23d0a61ce588c5c089792a1e71dc0500.zip |
Fix up the launching of the desktop session
1. Clear out the lockfiles for a session before launching it
2. Provide some mechanisms for returning lockfile paths without creating a new single-instance session.
3. A couple other random commits I still had staged on my laptop (settings menu tweak)
Diffstat (limited to 'src-qt5/core/libLumina/LuminaSingleApplication.h')
-rw-r--r-- | src-qt5/core/libLumina/LuminaSingleApplication.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src-qt5/core/libLumina/LuminaSingleApplication.h b/src-qt5/core/libLumina/LuminaSingleApplication.h index bacf5640..f8302c0d 100644 --- a/src-qt5/core/libLumina/LuminaSingleApplication.h +++ b/src-qt5/core/libLumina/LuminaSingleApplication.h @@ -35,6 +35,9 @@ public: LSingleApplication(int &argc, char **argv, QString appname); ~LSingleApplication(); + static QString getLockfileName(QString appname); + static void removeLocks(QString appname); + bool isPrimaryProcess(); QStringList inputlist; //in case the app wants access to modified inputs (relative path fixes and such) |