mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 06:45:37 +08:00
refactor: Remove unused method from context
This commit is contained in:
@@ -78,12 +78,4 @@ namespace BlackCore::Context
|
||||
if (!isSimulatorAvailable() || !getSimulatorStatusEnum().testFlag(ISimulator::Simulating)) { return false; }
|
||||
return true;
|
||||
}
|
||||
|
||||
bool IContextSimulator::isSimulatorVital() const
|
||||
{
|
||||
if (!isSimulatorAvailable()) { return false; } // we cannot be vital
|
||||
if (isSimulatorSimulating()) { return true; } // we are vital
|
||||
if (getSimulatorStatusEnum().testFlag(ISimulator::Paused)) { return true; }
|
||||
return false;
|
||||
}
|
||||
} // namespace
|
||||
|
||||
@@ -270,9 +270,6 @@ namespace BlackCore::Context
|
||||
//! Is available simulator simulating? Returns false if no simulator is available
|
||||
bool isSimulatorSimulating() const;
|
||||
|
||||
//! Used to decide if simulator is still alive, used for crash detection
|
||||
bool isSimulatorVital() const;
|
||||
|
||||
//! Icon representing the model
|
||||
virtual BlackMisc::CPixmap iconForModel(const QString &modelString) const = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user