mirror of
https://github.com/Dark98/threeSD.git
synced 2026-07-03 00:38:58 +00:00
frontend: Add utilities
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
#include "common/file_util.h"
|
||||
#include "frontend/import_dialog.h"
|
||||
#include "frontend/main.h"
|
||||
#include "frontend/utilities.h"
|
||||
#include "ui_main.h"
|
||||
|
||||
#ifdef __APPLE__
|
||||
@@ -47,6 +48,10 @@ MainDialog::MainDialog(QWidget* parent) : QDialog(parent), ui(std::make_unique<U
|
||||
ShowAdvanced();
|
||||
}
|
||||
});
|
||||
connect(ui->utilitiesButton, &QPushButton::clicked, [this] {
|
||||
UtilitiesDialog dialog(this);
|
||||
dialog.exec();
|
||||
});
|
||||
|
||||
connect(ui->buttonBox, &QDialogButtonBox::clicked, [this](QAbstractButton* button) {
|
||||
if (button == ui->buttonBox->button(QDialogButtonBox::StandardButton::Reset)) {
|
||||
|
||||
Reference in New Issue
Block a user