diff --git a/mainwindow.cpp b/mainwindow.cpp index 6dfe2cf..48638d6 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -12,7 +12,7 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow), - bottomRightPosition(QRect(530,505,250,40)), + bottomRightPosition(QRect(530,506,250,40)), offlinePosition(240,340,300,40) { ui->setupUi(this); @@ -103,6 +103,7 @@ void MainWindow::showError(ErrorsEnum errorNum) if (errorNum == ErrorsEnum::BLOCKED) { serverNotifyShow(tr("Сервер заблокирован")); + } else if (errorNum == ErrorsEnum::DISABLE) { diff --git a/mainwindow.ui b/mainwindow.ui index 9a82355..e242623 100644 --- a/mainwindow.ui +++ b/mainwindow.ui @@ -427,7 +427,7 @@ 530 - 510 + 511 250 40