Add new signal on the mainWindow

We can't just call things on the mainWindow, we need to
wait it to finish some processes before we can safely query things
This commit is contained in:
Tomaz Canabrava 2021-11-30 10:18:48 -03:00
parent a85b63c004
commit a577f8a0b8
2 changed files with 2 additions and 0 deletions

View File

@ -756,6 +756,7 @@ void MainWindow::on_m_DeviceScanner_finished()
updateSeletedDeviceMenu();
checkFileSystemSupport();
Q_EMIT scanFinished();
}
void MainWindow::updateSeletedDeviceMenu()

View File

@ -46,6 +46,7 @@ public:
Q_SIGNALS:
void settingsChanged();
void scanFinished();
protected:
void init();