Changeset View
Changeset View
Standalone View
Standalone View
src/accessdialog.cpp
Show All 20 Lines | |||||
21 | #include "accessdialog.h" | 21 | #include "accessdialog.h" | ||
22 | #include "ui_accessdialog.h" | 22 | #include "ui_accessdialog.h" | ||
23 | 23 | | |||
24 | #include <QLoggingCategory> | 24 | #include <QLoggingCategory> | ||
25 | #include <QSettings> | 25 | #include <QSettings> | ||
26 | #include <QStandardPaths> | 26 | #include <QStandardPaths> | ||
27 | #include <QPushButton> | 27 | #include <QPushButton> | ||
28 | 28 | | |||
29 | Q_LOGGING_CATEGORY(XdgDesktopPortalKdeAccessDialog, "xdg-desktop-portal-kde-access-dialog") | 29 | Q_LOGGING_CATEGORY(XdgDesktopPortalKdeAccessDialog, "xdp-kde-access-dialog") | ||
30 | 30 | | |||
31 | AccessDialog::AccessDialog(QDialog *parent, Qt::WindowFlags flags) | 31 | AccessDialog::AccessDialog(QDialog *parent, Qt::WindowFlags flags) | ||
32 | : QDialog(parent, flags) | 32 | : QDialog(parent, flags) | ||
33 | , m_dialog(new Ui::AccessDialog) | 33 | , m_dialog(new Ui::AccessDialog) | ||
34 | { | 34 | { | ||
35 | m_dialog->setupUi(this); | 35 | m_dialog->setupUi(this); | ||
36 | 36 | | |||
37 | connect(m_dialog->buttonBox, &QDialogButtonBox::accepted, this, &AccessDialog::accept); | 37 | connect(m_dialog->buttonBox, &QDialogButtonBox::accepted, this, &AccessDialog::accept); | ||
▲ Show 20 Lines • Show All 43 Lines • Show Last 20 Lines |