diff --git a/aboutdialog.h b/aboutdialog.h index cc0225c..7300f60 100644 --- a/aboutdialog.h +++ b/aboutdialog.h @@ -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; diff --git a/bastardsnooze.cpp b/bastardsnooze.cpp index 479b477..28fa29a 100644 --- a/bastardsnooze.cpp +++ b/bastardsnooze.cpp @@ -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"); }