This commit is contained in:
2026-02-05 14:42:16 +03:00
parent 7b82fcbf07
commit 8ab4238537
2 changed files with 14 additions and 14 deletions

View File

@@ -16,11 +16,11 @@ const QString ServerLMSWidget::languageRUS = "ru_RU";
ServerLMSWidget::ServerLMSWidget(QWidget *parent) :
QWidget(parent),
ui(new Ui::ServerLMSWidget),
waitAnimationWidget(nullptr),
server(nullptr),
waitAnimationWidget(nullptr),
updateThread(nullptr),
loggerThread(nullptr),
mutex(nullptr),
server(nullptr),
dataParser(nullptr),
processingSystem(nullptr),
updateController(nullptr),
@@ -56,8 +56,6 @@ ServerLMSWidget::ServerLMSWidget(QWidget *parent) :
waitAnimationWidget->setParent(this);
waitAnimationWidget->initialize(movie,this);
//waitAnimationWidget->showWithPlay();
updateStateOnlyVersion();
}
@@ -231,7 +229,7 @@ void ServerLMSWidget::on_btnStartServer_clicked()
{
if(server->startServer())
{
QApplication::setOverrideCursor(Qt::WaitCursor);
//QApplication::setOverrideCursor(Qt::WaitCursor);
ui->btnStartServer->setEnabled(false);
ui->btnStopServer->setEnabled(true);
@@ -241,7 +239,7 @@ void ServerLMSWidget::on_btnStartServer_clicked()
emit signal_Tray_ShowMessage(tr("Server is started!"));
QApplication::restoreOverrideCursor();
//QApplication::restoreOverrideCursor();
}
}
@@ -249,7 +247,7 @@ void ServerLMSWidget::on_btnStopServer_clicked()
{
if(server->stopServer())
{
QApplication::setOverrideCursor(Qt::WaitCursor);
//QApplication::setOverrideCursor(Qt::WaitCursor);
ui->btnStopServer->setEnabled(false);
ui->btnStartServer->setEnabled(true);
@@ -259,7 +257,7 @@ void ServerLMSWidget::on_btnStopServer_clicked()
emit signal_Tray_ShowMessage(tr("Server is stoped!"));
QApplication::restoreOverrideCursor();
//QApplication::restoreOverrideCursor();
}
}