Move KAuth helper setup code to ExternalCommand class.
This commit is contained in:
parent
200bb23b67
commit
1344021e1b
|
@ -55,6 +55,7 @@
|
||||||
#include <fs/filesystemfactory.h>
|
#include <fs/filesystemfactory.h>
|
||||||
#include <fs/luks.h>
|
#include <fs/luks.h>
|
||||||
|
|
||||||
|
#include <util/externalcommand.h>
|
||||||
#include <util/helpers.h>
|
#include <util/helpers.h>
|
||||||
#include <util/guihelpers.h>
|
#include <util/guihelpers.h>
|
||||||
#include <util/report.h>
|
#include <util/report.h>
|
||||||
|
@ -161,8 +162,7 @@ void MainWindow::closeEvent(QCloseEvent* event)
|
||||||
saveConfig();
|
saveConfig();
|
||||||
|
|
||||||
KXmlGuiWindow::closeEvent(event);
|
KXmlGuiWindow::closeEvent(event);
|
||||||
|
ExternalCommand::stopHelper();
|
||||||
CoreBackendManager::self()->stopExternalCommandHelper();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::changeEvent(QEvent* event)
|
void MainWindow::changeEvent(QEvent* event)
|
||||||
|
|
Loading…
Reference in New Issue