forked from qt-creator/qt-creator
Valgrind: Simplify device setup and handling
Make isLocal() less intrusively used and correct. Use the stored device more often, also handle errors more quickly. Change-Id: I146d1f5788ea79d0a9d7b058c81908d451cf00d0 Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
This commit is contained in:
@@ -51,16 +51,13 @@ public:
|
||||
|
||||
QString executable() const;
|
||||
|
||||
void setCustomStart() { m_isCustomStart = true; }
|
||||
|
||||
protected:
|
||||
virtual QString progressTitle() const = 0;
|
||||
virtual QStringList toolArguments() const = 0;
|
||||
virtual Valgrind::ValgrindRunner *runner() = 0;
|
||||
|
||||
ValgrindBaseSettings *m_settings;
|
||||
ValgrindBaseSettings *m_settings = 0;
|
||||
QFutureInterface<void> m_progress;
|
||||
bool m_isCustomStart;
|
||||
|
||||
private:
|
||||
void handleProgressCanceled();
|
||||
@@ -73,7 +70,7 @@ private:
|
||||
QStringList genericToolArguments() const;
|
||||
|
||||
private:
|
||||
bool m_isStopping;
|
||||
bool m_isStopping = false;
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
|
||||
Reference in New Issue
Block a user