Commit d84ab44c authored by Eugene Popov's avatar Eugene Popov 🇺🇦 Committed by Nate Graham
Browse files

Remove redundant saveState call

saveState is already called in the BlueDevilDaemon destructor

(cherry picked from commit 7e1cb09e)

BUG: 454709
FIXED-IN: 5.24.6
parent 4ecedad9
Pipeline #184537 passed with stage
in 53 seconds
......@@ -78,13 +78,6 @@ DeviceMonitor::DeviceMonitor(BlueDevilDaemon *daemon)
}
}
DeviceMonitor::~DeviceMonitor()
{
// Save state when tearing down to avoid getting out of sync if kded crashes
// or is manually restarted
saveState();
}
KFilePlacesModel *DeviceMonitor::places()
{
if (!m_places) {
......
......@@ -24,7 +24,6 @@ class DeviceMonitor : public QObject
public:
explicit DeviceMonitor(BlueDevilDaemon *daemon);
~DeviceMonitor() override;
void saveState();
......
Supports Markdown
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