| 96 | } |
| 97 | |
| 98 | bool Instance::isActive() const |
| 99 | { |
| 100 | auto& m = InstanceManager::singleton(); |
| 101 | |
| 102 | if (auto i = m.currentInstance()) { |
| 103 | if (m_portable) { |
| 104 | return i->isPortable(); |
| 105 | } else { |
| 106 | return (i->displayName() == displayName()); |
| 107 | } |
| 108 | } |
| 109 | |
| 110 | return false; |
| 111 | } |
| 112 | |
| 113 | bool Instance::readFromIni() |
| 114 | { |
nothing calls this directly
no test coverage detected