Skip to content

Commit

Permalink
Remove database save from API restartapp method (#8044)
Browse files Browse the repository at this point in the history
This is already handled by the app quite handler.
  • Loading branch information
manup authored Nov 26, 2024
1 parent b566e6e commit 9218c00
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions rest_configuration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2400,10 +2400,6 @@ int DeRestPluginPrivate::restartApp(const ApiRequest &req, ApiResponse &rsp)
rspItem["success"] = rspItemState;
rsp.list.append(rspItem);

openDb();
saveDb();
closeDb();

QTimer *restartTimer = new QTimer(this);
restartTimer->setSingleShot(true);
connect(restartTimer, SIGNAL(timeout()),
Expand Down

0 comments on commit 9218c00

Please sign in to comment.