1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

fix(main): Construct ToxSave event handler

Bug introduced in 0c967725df, when the class
was added but never constructed.
This commit is contained in:
Anthony Bilinski 2022-03-28 17:36:34 -07:00
parent 16ac8a8eac
commit 7565f8b350
No known key found for this signature in database
GPG Key ID: 2AA8E0DA1B31FB3C

View File

@ -434,6 +434,7 @@ int main(int argc, char* argv[])
}
uriDialog = std::unique_ptr<ToxURIDialog>(new ToxURIDialog(nullptr, profile->getCore(), *messageBoxManager));
toxSave = std::unique_ptr<ToxSave>(new ToxSave{*settings});
if (ipc.isAttached()) {
// Start to accept Inter-process communication