mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-18 05:11:42 +00:00
Changed: Specify server to process
This commit is contained in:
parent
785ce84637
commit
120073da6f
2 changed files with 4 additions and 5 deletions
|
@ -421,8 +421,7 @@ void COperationDialog::downloadData()
|
||||||
{
|
{
|
||||||
CConfigFile *config = CConfigFile::getInstance();
|
CConfigFile *config = CConfigFile::getInstance();
|
||||||
|
|
||||||
// default server
|
const CServer &server = config->getServer(m_currentServerId);
|
||||||
const CServer &server = config->getServer();
|
|
||||||
|
|
||||||
m_currentOperation = QApplication::tr("Download data required by server %1").arg(server.name);
|
m_currentOperation = QApplication::tr("Download data required by server %1").arg(server.name);
|
||||||
m_currentOperationProgressFormat = QApplication::tr("Downloading %1...");
|
m_currentOperationProgressFormat = QApplication::tr("Downloading %1...");
|
||||||
|
@ -439,8 +438,7 @@ void COperationDialog::downloadClient()
|
||||||
{
|
{
|
||||||
CConfigFile *config = CConfigFile::getInstance();
|
CConfigFile *config = CConfigFile::getInstance();
|
||||||
|
|
||||||
// default server
|
const CServer &server = config->getServer(m_currentServerId);
|
||||||
const CServer &server = config->getServer();
|
|
||||||
|
|
||||||
m_currentOperation = QApplication::tr("Download client required by server %1").arg(server.name);
|
m_currentOperation = QApplication::tr("Download client required by server %1").arg(server.name);
|
||||||
m_currentOperationProgressFormat = QApplication::tr("Downloading %1...");
|
m_currentOperationProgressFormat = QApplication::tr("Downloading %1...");
|
||||||
|
@ -476,7 +474,7 @@ void COperationDialog::copyDataFiles()
|
||||||
CConfigFile *config = CConfigFile::getInstance();
|
CConfigFile *config = CConfigFile::getInstance();
|
||||||
|
|
||||||
// default server
|
// default server
|
||||||
const CServer &server = config->getServer();
|
const CServer &server = config->getServer(m_currentServerId);
|
||||||
|
|
||||||
m_currentOperation = QApplication::tr("Copy data files required by server %1").arg(server.name);
|
m_currentOperation = QApplication::tr("Copy data files required by server %1").arg(server.name);
|
||||||
m_currentOperationProgressFormat = QApplication::tr("Copying %1...");
|
m_currentOperationProgressFormat = QApplication::tr("Copying %1...");
|
||||||
|
|
|
@ -126,6 +126,7 @@ protected:
|
||||||
|
|
||||||
OperationType m_operation;
|
OperationType m_operation;
|
||||||
SUninstallComponents m_components;
|
SUninstallComponents m_components;
|
||||||
|
QString m_currentServerId;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue