Warn the user if the polkit files are missing
This commit is contained in:
parent
a41c31c66f
commit
a389b0e9ff
|
@ -95,6 +95,8 @@ MainWindow::MainWindow(QWidget* parent) :
|
||||||
m_ScanProgressDialog(new ScanProgressDialog(this)),
|
m_ScanProgressDialog(new ScanProgressDialog(this)),
|
||||||
m_StatusText(new QLabel(this))
|
m_StatusText(new QLabel(this))
|
||||||
{
|
{
|
||||||
|
CoreBackend::isPolkitInstalledCorrectly();
|
||||||
|
|
||||||
setupObjectNames();
|
setupObjectNames();
|
||||||
setupUi(this);
|
setupUi(this);
|
||||||
connect(&m_ListDevices->listDevices(), &QListWidget::customContextMenuRequested, this, &MainWindow::listDevicesContextMenuRequested);
|
connect(&m_ListDevices->listDevices(), &QListWidget::customContextMenuRequested, this, &MainWindow::listDevicesContextMenuRequested);
|
||||||
|
|
Loading…
Reference in New Issue