forked from qt-creator/qt-creator
ProjectExplorer: Move Runnable/Connection model into class
Somewhat better encapsulation. Removes the "false" sharing of Concept implementations, and takes the opportunity to change the operator==() into a 'canReUseOutputPane' function to be explicit about its only use. This doesn't solve the change in output pane reuse behavior yet, but provides the base to put the required logic into canReUseOutputPane, as opposed to abusing the general equality concept. Change-Id: Id9e4e6b8601c5fcf40a252fb423c2c4c2b74ddb6 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -3633,14 +3633,6 @@ AnalyzerRunControl *createAnalyzerRunControl(RunConfiguration *runConfiguration,
|
||||
return 0;
|
||||
}
|
||||
|
||||
bool operator==(const AnalyzerConnection &c1, const AnalyzerConnection &c2)
|
||||
{
|
||||
return c1.connParams == c2.connParams
|
||||
&& c1.analyzerHost == c2.analyzerHost
|
||||
&& c1.analyzerSocket == c2.analyzerSocket
|
||||
&& c1.analyzerPort == c2.analyzerPort;
|
||||
}
|
||||
|
||||
namespace Internal {
|
||||
|
||||
static bool s_testRun = false;
|
||||
|
||||
Reference in New Issue
Block a user