mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-05-08 14:33:23 +00:00
changed the way to create qml pages, now the page is created when you go to it
- added PageSetupWizardConfigSource, PageSetupWizardInstalling, PageSetupWizardProtocolSettings, PageSetupWizardTextKey
This commit is contained in:
@@ -56,4 +56,14 @@ void ContainersModel::setSelectedServerIndex(int index)
|
||||
endResetModel();
|
||||
}
|
||||
|
||||
void ContainersModel::setCurrentlyInstalledContainerIndex(int index)
|
||||
{
|
||||
// beginResetModel();
|
||||
m_currentlyInstalledContainerIndex = createIndex(index, 0);
|
||||
// endResetModel();
|
||||
}
|
||||
|
||||
QString ContainersModel::getCurrentlyInstalledContainerName()
|
||||
{
|
||||
return data(m_currentlyInstalledContainerIndex, NameRole).toString();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user