Ref T218, renamed some functions of CIdentifier

This commit is contained in:
Klaus Basan
2018-01-04 19:09:36 +01:00
parent 23f48a866d
commit 2c5a6c0a3a
8 changed files with 33 additions and 25 deletions

View File

@@ -88,7 +88,7 @@ namespace BlackGui
for (const auto &app : machineIdentifiersUnique)
{
ui->cb_Identifier->addItem(app.getMachineName(), QVariant::fromValue(app));
if (m_actionHotkey.getApplicableMachine().isFromSameMachine(app)) { index = ui->cb_Identifier->count() - 1; }
if (m_actionHotkey.getApplicableMachine().hasSameMachineName(app)) { index = ui->cb_Identifier->count() - 1; }
}
if (index < 0 && ui->cb_Identifier->count() > 0)