forked from qt-creator/qt-creator
Remove code noise
Change-Id: I34d5df0be0a7772f9e08635afb398d6289840a92 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -55,9 +55,9 @@ class SimulatorInfo : public SimulatorEntity
|
||||
friend QDebug &operator<<(QDebug &, const SimulatorInfo &info);
|
||||
|
||||
public:
|
||||
bool isBooted() const { return state.compare(QStringLiteral("Booted")) == 0; }
|
||||
bool isShutdown() const { return state.compare(QStringLiteral("Shutdown")) == 0; }
|
||||
bool isBooted() const { return state == "Booted"; }
|
||||
bool isShuttingDown() const { return state == "Shutting Down"; }
|
||||
bool isShutdown() const { return state == "Shutdown"; }
|
||||
bool operator==(const SimulatorInfo &other) const;
|
||||
bool operator!=(const SimulatorInfo &other) const { return !(*this == other); }
|
||||
bool available;
|
||||
|
||||
Reference in New Issue
Block a user