diff options
| author | Al12rs <gabriel.cortesi@outlook.com> | 2018-04-06 21:35:15 +0200 |
|---|---|---|
| committer | Al12rs <gabriel.cortesi@outlook.com> | 2018-04-07 14:10:16 +0200 |
| commit | 5c39a762e68c3559438a622dbf747eb8bddec7ed (patch) | |
| tree | 7d74dc78c8b8f6cb0dcb24556fe9dd0dc6f076fc /src/moshortcut.h | |
| parent | a905ce130d0f1f4894f135660d9cf515788bb2ad (diff) | |
Allow MO2 shortcuts that open the indicated MO2 instance in the argument if the executable name is omitted.
This should be added after the MO2 exe path: ' "moshortcut://myInstanceName:" '. If there are caracters after the ":" then MO2 will assume that is an execuatble and will try to run it.
Diffstat (limited to 'src/moshortcut.h')
| -rw-r--r-- | src/moshortcut.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/moshortcut.h b/src/moshortcut.h index 7b7574b9..2ce54910 100644 --- a/src/moshortcut.h +++ b/src/moshortcut.h @@ -33,6 +33,8 @@ public: operator bool() const { return m_valid; } bool hasInstance() const { return m_hasInstance; } + + bool hasExecutable() const { return m_hasExecutable; } const QString& instance() const { return m_instance; } @@ -43,4 +45,5 @@ private: QString m_executable; bool m_valid; bool m_hasInstance; + bool m_hasExecutable; }; |
