From 0b8c8835c4556d34436618fb5e3482f727b2f69b Mon Sep 17 00:00:00 2001 From: pokamest Date: Sat, 9 Jan 2021 20:05:16 +0300 Subject: [PATCH] new server page fix --- client/ui/mainwindow.cpp | 3 +++ client/ui/mainwindow.ui | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/client/ui/mainwindow.cpp b/client/ui/mainwindow.cpp index 6e8b4599..595756f1 100644 --- a/client/ui/mainwindow.cpp +++ b/client/ui/mainwindow.cpp @@ -448,6 +448,9 @@ void MainWindow::setupUiConnections() else hide(); }); connect(ui->pushButton_general_settings_exit, &QPushButton::clicked, this, [&](){ qApp->quit(); }); + connect(ui->pushButton_new_server_get_info, &QPushButton::clicked, this, [&](){ + QDesktopServices::openUrl(QUrl("https://amnezia.org")); + }); connect(ui->pushButton_connect, SIGNAL(clicked(bool)), this, SLOT(onPushButtonConnectClicked(bool))); connect(ui->pushButton_new_server_setup, &QPushButton::clicked, this, [this](){ goToPage(Page::NewServer); }); diff --git a/client/ui/mainwindow.ui b/client/ui/mainwindow.ui index 03baeea1..6c20db41 100644 --- a/client/ui/mainwindow.ui +++ b/client/ui/mainwindow.ui @@ -267,7 +267,7 @@ QStackedWidget QWidget { - 2 + 1 @@ -680,6 +680,9 @@ border-radius: 4px; 21 + + PointingHandCursor + font-family: Lato; font-style: normal;