diff --git a/obs/window-basic-main.cpp b/obs/window-basic-main.cpp index d6aae59ed..9de5d5b8d 100644 --- a/obs/window-basic-main.cpp +++ b/obs/window-basic-main.cpp @@ -750,10 +750,6 @@ void OBSBasic::OBSInit() TimedCheckForUpdates(); loaded = true; - saveTimer = new QTimer(this); - connect(saveTimer, SIGNAL(timeout()), this, SLOT(SaveProject())); - saveTimer->start(20000); - bool previewEnabled = config_get_bool(App()->GlobalConfig(), "BasicWindow", "PreviewEnabled"); if (!previewEnabled) @@ -1999,9 +1995,6 @@ void OBSBasic::closeEvent(QCloseEvent *event) // the destructor gets called obs_remove_draw_callback(OBSBasic::RenderMain, this); - /* Delete the save timer so it doesn't trigger after this point while - * the program data is being freed */ - delete saveTimer; SaveProject(); /* Clear all scene data (dialogs, widgets, widget sub-items, scenes, diff --git a/obs/window-basic-main.hpp b/obs/window-basic-main.hpp index ca4d7b445..3115219b6 100644 --- a/obs/window-basic-main.hpp +++ b/obs/window-basic-main.hpp @@ -75,8 +75,6 @@ private: bool loaded = false; - QPointer saveTimer; - QPointer updateCheckThread; QPointer logUploadThread;