Skip to content

Commit

Permalink
fixed race condition on bastard snooze kill
Browse files Browse the repository at this point in the history
  • Loading branch information
CountMurphy committed Oct 3, 2023
1 parent 76289d2 commit 52a9a6f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion aboutdialog.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class AboutDialog : public QDialog
public:
explicit AboutDialog(QWidget *parent = 0);
~AboutDialog();
const QString version="2.5.0";
const QString version="2.5.1";

private:
Ui::AboutDialog *ui;
Expand Down
2 changes: 1 addition & 1 deletion bastardsnooze.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ void BastardSnooze::checkMath()
this->_schdule_list->removeScheduleByIndex(this->_curAlarm->listId);
}
this->hide();
this->~BastardSnooze();
this->deleteLater();
}else{
QMessageBox::critical(this,"WRONG","WRONG");
}
Expand Down

0 comments on commit 52a9a6f

Please sign in to comment.