From c37ddd83d576f331effcc7892ddce3500710c03d Mon Sep 17 00:00:00 2001 From: pokamest Date: Sat, 16 Jan 2021 15:08:27 +0300 Subject: [PATCH] ui fix --- client/ui/mainwindow.cpp | 7 +++++++ client/ui/mainwindow.ui | 20 ++++++++++++++++++-- 2 files changed, 25 insertions(+), 2 deletions(-) diff --git a/client/ui/mainwindow.cpp b/client/ui/mainwindow.cpp index 463683f4..e5b72303 100644 --- a/client/ui/mainwindow.cpp +++ b/client/ui/mainwindow.cpp @@ -62,6 +62,13 @@ MainWindow::MainWindow(QWidget *parent) : setupTray(); setupUiConnections(); + ui->pushButton_general_settings_exit->hide(); + ui->pushButton_share_connection->hide(); + ui->radioButton_mode_all_sites->hide(); + ui->radioButton_mode_include_selected_sites->hide(); + ui->pushButton_blocked_list->hide(); + ui->label_description->hide(); + setFixedSize(width(),height()); qInfo().noquote() << QString("Started %1 version %2").arg(APPLICATION_NAME).arg(APP_VERSION); diff --git a/client/ui/mainwindow.ui b/client/ui/mainwindow.ui index 7f481945..bac7689d 100644 --- a/client/ui/mainwindow.ui +++ b/client/ui/mainwindow.ui @@ -1102,7 +1102,7 @@ color: #181922; Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter - + false @@ -1121,7 +1121,7 @@ color: #181922; true - + false @@ -1162,6 +1162,22 @@ color: #181922; true + + + + 0 + 500 + 381 + 131 + + + + image: url(:/images/AmneziaVPN.png); + + + + +