Commit 10ce58b5 authored by LordTermor's avatar LordTermor

Moved transaction daemon quitting call to destructor

parent a492d557
......@@ -53,10 +53,6 @@ ApplicationWindow {
}
}
Component.onDestruction: {
transaction.quitDaemon();
}
requestChooseProvider: (depend,list)=>{
let objects = {"depend":depend,"lst":list,"provider":undefined}
objects = DialogRunner.exec(Qt.resolvedUrl("../Dialogs/ChooseProviderDialog.qml"),objects)
......
......@@ -62,6 +62,7 @@ class Transaction : public QObject
public:
Transaction(QObject * parent = nullptr):QObject(parent){}
~Transaction(){quitDaemon();}
inline Q_INVOKABLE void getAuthorization(){
pamac_transaction_get_authorization(m_handle);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment