diff options
author | Robert Jonsson <spamatica@gmail.com> | 2011-02-28 19:01:55 +0000 |
---|---|---|
committer | Robert Jonsson <spamatica@gmail.com> | 2011-02-28 19:01:55 +0000 |
commit | 1645eee5c59ea72438d730a01add17e106b8c82f (patch) | |
tree | f3e43abe5cbd147d1f67b0ac3e1383eb8ff25868 /muse2/muse/songfile.cpp | |
parent | f93eed5661c223b2ee5b3789bb41d4d53946d3fc (diff) |
progress dialog
Diffstat (limited to 'muse2/muse/songfile.cpp')
-rw-r--r-- | muse2/muse/songfile.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/muse2/muse/songfile.cpp b/muse2/muse/songfile.cpp index 17de3d86..973bcc57 100644 --- a/muse2/muse/songfile.cpp +++ b/muse2/muse/songfile.cpp @@ -8,6 +8,7 @@ #include <assert.h> #include <uuid/uuid.h> +#include <QProgressDialog> #include "app.h" #include "song.h" @@ -1206,6 +1207,9 @@ void Song::read(Xml& xml) { cloneList.clear(); for (;;) { + if (muse->progress) + muse->progress->setValue(muse->progress->value()+1); + Xml::Token token; token = xml.parse(); const QString& tag = xml.s1(); @@ -1353,6 +1357,8 @@ void MusE::read(Xml& xml, bool skipConfig) { bool skipmode = true; for (;;) { + if (progress) + progress->setValue(progress->value()+1); Xml::Token token = xml.parse(); const QString& tag = xml.s1(); switch (token) { |