Browse Source

fix(main): Construct ToxSave event handler

Bug introduced in 0c967725df, when the class
was added but never constructed.
reviewable/pr6591/r1
Anthony Bilinski 3 years ago
parent
commit
7565f8b350
No known key found for this signature in database
GPG Key ID: 2AA8E0DA1B31FB3C
  1. 1
      src/main.cpp

1
src/main.cpp

@ -434,6 +434,7 @@ int main(int argc, char* argv[]) @@ -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

Loading…
Cancel
Save