summaryrefslogtreecommitdiff
path: root/muse2/muse/app.cpp
diff options
context:
space:
mode:
authorRobert Jonsson <spamatica@gmail.com>2011-04-09 21:25:50 +0000
committerRobert Jonsson <spamatica@gmail.com>2011-04-09 21:25:50 +0000
commitf8220785a652ccff66fd46ebc440ac8071288511 (patch)
tree587ce99a5ff77856512d5aad13e945da01a8bbf0 /muse2/muse/app.cpp
parentf08685a55d5090a2a22cb2808e788912cb739b99 (diff)
minor fixes
Diffstat (limited to 'muse2/muse/app.cpp')
-rw-r--r--muse2/muse/app.cpp5
1 files changed, 4 insertions, 1 deletions
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;
}
}