From f8220785a652ccff66fd46ebc440ac8071288511 Mon Sep 17 00:00:00 2001 From: Robert Jonsson Date: Sat, 9 Apr 2011 21:25:50 +0000 Subject: minor fixes --- muse2/muse/app.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'muse2/muse/app.cpp') diff --git a/muse2/muse/app.cpp b/muse2/muse/app.cpp index 3ca47fbc..21a4f05f 100644 --- a/muse2/muse/app.cpp +++ b/muse2/muse/app.cpp @@ -1744,6 +1744,7 @@ void MusE::loadProjectFile1(const QString& name, bool songTemplate, bool loadAll if (!fi.isReadable()) { QMessageBox::critical(this, QString("MusE"), tr("Cannot read template")); + QApplication::restoreOverrideCursor(); return; } project.setFile("untitled"); @@ -2087,17 +2088,19 @@ void MusE::closeEvent(QCloseEvent* event) n = QMessageBox::warning(this, appName, tr("The current Project contains unsaved data\n" "Save Current Project?"), - tr("&Save"), tr("&Skip"), tr("&Abort"), 0, 2); + tr("&Save"), tr("&Skip"), tr("&Cancel"), 0, 2); if (n == 0) { if (!save()) // dont quit if save failed { event->ignore(); + QApplication::restoreOverrideCursor(); return; } } else if (n == 2) { event->ignore(); + QApplication::restoreOverrideCursor(); return; } } -- cgit v1.2.3