Display cmd. arguments if SHIFT is pressed

This commit is contained in:
Klaus Basan
2019-01-25 20:20:16 +01:00
committed by Mat Sutcliffe
parent 998f0344fa
commit a32eadee6a
2 changed files with 61 additions and 14 deletions

View File

@@ -58,7 +58,7 @@ public:
explicit CSwiftLauncher(QWidget *parent = nullptr);
//! Destructor
virtual ~CSwiftLauncher();
virtual ~CSwiftLauncher() override;
//! Executable (to be started)
const QString &getExecutable() const { return m_executable; }
@@ -118,11 +118,11 @@ private:
//! \sa CSwiftLauncher::displayLatestNews
void loadLatestNews();
//! Start the core
void startSwiftCore();
//! Executaable for core
bool setSwiftCoreExecutable();
//! Set executable for swift data
void setSwiftDataExecutable();
bool setSwiftDataExecutable();
//! Set executable for swift GUI
bool setSwiftGuiExecutable();
@@ -157,6 +157,9 @@ private:
//! Display status message as overlay
void showStatusMessage(const BlackMisc::CStatusMessage &msg);
//! Display status message as overlay
void showStatusMessage(const QString &htmlMsg);
//! Append status message
void appendLogMessage(const BlackMisc::CStatusMessage &message);
@@ -184,6 +187,9 @@ private:
//! Core mode has been changed
void onCoreModeReleased();
//! Display a popup with the cmd line args
void popupExecutableArgs();
//! Command line
static QString toCmdLine(const QString &exe, const QStringList &exeArgs);
};