Warn the user if the polkit files are missing

This commit is contained in:
Tomaz Canabrava 2021-11-29 11:22:13 -03:00
parent a41c31c66f
commit a389b0e9ff
1 changed files with 2 additions and 0 deletions

View File

@ -95,6 +95,8 @@ MainWindow::MainWindow(QWidget* parent) :
m_ScanProgressDialog(new ScanProgressDialog(this)),
m_StatusText(new QLabel(this))
{
CoreBackend::isPolkitInstalledCorrectly();
setupObjectNames();
setupUi(this);
connect(&m_ListDevices->listDevices(), &QListWidget::customContextMenuRequested, this, &MainWindow::listDevicesContextMenuRequested);