for api servers, removed the ability to select a container
This commit is contained in:
parent
89d0a8107d
commit
b3ed57aee7
3 changed files with 11 additions and 2 deletions
|
@ -220,6 +220,11 @@ bool ServersModel::isDefaultServerCurrentlyProcessed()
|
|||
return m_defaultServerIndex == m_processedServerIndex;
|
||||
}
|
||||
|
||||
bool ServersModel::isDefaultServerFromApi()
|
||||
{
|
||||
return qvariant_cast<bool>(data(m_defaultServerIndex, IsServerFromApiRole));
|
||||
}
|
||||
|
||||
bool ServersModel::isProcessedServerHasWriteAccess()
|
||||
{
|
||||
return qvariant_cast<bool>(data(m_processedServerIndex, HasWriteAccessRole));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue