mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-06-23 02:00:20 +07:00
sites list ui fix
This commit is contained in:
@@ -795,7 +795,7 @@ void MainWindow::updateShareCode()
|
|||||||
|
|
||||||
void MainWindow::makeSitesListItem(QListWidget *listWidget, const QString &address)
|
void MainWindow::makeSitesListItem(QListWidget *listWidget, const QString &address)
|
||||||
{
|
{
|
||||||
QSize size(330, 25);
|
QSize size(310, 25);
|
||||||
QWidget* widget = new QWidget;
|
QWidget* widget = new QWidget;
|
||||||
widget->resize(size);
|
widget->resize(size);
|
||||||
|
|
||||||
@@ -807,7 +807,7 @@ void MainWindow::makeSitesListItem(QListWidget *listWidget, const QString &addre
|
|||||||
|
|
||||||
QPushButton* btn1 = new QPushButton(widget);
|
QPushButton* btn1 = new QPushButton(widget);
|
||||||
btn1->resize(30, 25);
|
btn1->resize(30, 25);
|
||||||
btn1->move(300, 0);
|
btn1->move(280, 0);
|
||||||
btn1->setCursor(QCursor(Qt::PointingHandCursor));
|
btn1->setCursor(QCursor(Qt::PointingHandCursor));
|
||||||
|
|
||||||
connect(btn1, &QPushButton::clicked, this, [this, label]() {
|
connect(btn1, &QPushButton::clicked, this, [this, label]() {
|
||||||
|
|||||||
Reference in New Issue
Block a user