mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 23:25:53 +08:00
refs #641, moved last simulator selection to caches
* removed from component cache * kept renamed component caches as stubs for later usage refs #646, removed gui state cache as it causes build issues on Jenkins (idea was to keep the classes as stubs for later usage)
This commit is contained in:
@@ -37,7 +37,7 @@ namespace BlackMisc
|
||||
{
|
||||
Q_ASSERT_X(!this->isEmpty(), Q_FUNC_INFO, "Empty index");
|
||||
if (this->isEmpty()) { return CPropertyIndex(); }
|
||||
int p = this->m_indexString.indexOf(';');
|
||||
const int p = this->m_indexString.indexOf(';');
|
||||
if (p < 0) { return CPropertyIndex(); }
|
||||
return CPropertyIndex(this->m_indexString.mid(p + 1));
|
||||
}
|
||||
@@ -129,7 +129,7 @@ namespace BlackMisc
|
||||
Q_ASSERT_X(!this->isEmpty(), Q_FUNC_INFO, "No index");
|
||||
int f = -1;
|
||||
bool ok;
|
||||
int p = this->m_indexString.indexOf(';');
|
||||
const int p = this->m_indexString.indexOf(';');
|
||||
if (p < 0)
|
||||
{
|
||||
f = this->m_indexString.toInt(&ok);
|
||||
|
||||
Reference in New Issue
Block a user