mirror of
https://github.com/Sani7/remote-ui.git
synced 2026-10-27 06:01:14 +01:00
Move to cpp20
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@
|
||||
NetworkError::NetworkError(QWidget* parent) : QDialog(parent), ui(new Ui::NetworkError) {
|
||||
ui->setupUi(this);
|
||||
connect(ui->exit, &QPushButton::clicked, this, &QCoreApplication::quit, Qt::QueuedConnection);
|
||||
connect(ui->close, &QPushButton::clicked, this, [=]{this->close();});
|
||||
connect(ui->close, &QPushButton::clicked, this, [=, this]{this->close();});
|
||||
|
||||
this->setWindowTitle("Error");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user