Commit 1663b44a authored by hjk's avatar hjk

Analyzer: Move supportsReRunning() down to individual runControls

This maintains current behavior by letting all subclasses return 'false'.
This might be too pessimistic, but can be fixed on a per-tool base

Change-Id: I71ac1b1e2cc98cfb1c5b76bc7c60a3240c5d1dcd
Reviewed-by: Ulf Hermann's avatarUlf Hermann <ulf.hermann@qt.io>
parent c472241a
......@@ -66,6 +66,7 @@ public:
bool isRunning() const override;
bool success() const { return m_success; } // For testing.
bool supportsReRunning() const override { return false; }
signals:
void newDiagnosticsAvailable(const QList<Diagnostic> &diagnostics);
......
......@@ -52,9 +52,6 @@ public:
signals:
void starting();
private:
bool supportsReRunning() const override { return false; }
};
} // namespace Debugger
......@@ -52,6 +52,7 @@ public:
void cancelProcess();
void notifyRemoteFinished() override;
void appendMessage(const QString &msg, Utils::OutputFormat format) override;
bool supportsReRunning() const override { return false; }
signals:
void processRunning(Utils::Port port);
......
......@@ -48,6 +48,7 @@ public:
void start() override;
StopResult stop() override;
bool isRunning() const override;
bool supportsReRunning() const override { return false; }
QString executable() const;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment