From a389b0e9ff190387696ed95fe9e9579d419178a0 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Mon, 29 Nov 2021 11:22:13 -0300 Subject: [PATCH] Warn the user if the polkit files are missing --- src/gui/mainwindow.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gui/mainwindow.cpp b/src/gui/mainwindow.cpp index 28e4525..2ba1e0c 100644 --- a/src/gui/mainwindow.cpp +++ b/src/gui/mainwindow.cpp @@ -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);