From 775f5cd0a45143e7418059ac0ba2fb3346947198 Mon Sep 17 00:00:00 2001 From: semenov Date: Wed, 17 Dec 2025 16:39:23 +0300 Subject: [PATCH] fix: position --- mainwindow.cpp | 3 ++- mainwindow.ui | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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