Skip to content

Commit

Permalink
Add hideQuestionMark calls to the QProgressDialogs in app/
Browse files Browse the repository at this point in the history
I'm not entirely sure what this does, I think it's not noticable
on Linux. But it makes sense that they are all displayed
consistently.
  • Loading branch information
scribblemaniac committed Nov 11, 2019
1 parent 2e2b1f8 commit 90e7164
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/src/importimageseqdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ GNU General Public License for more details.
#include "ui_importimageseqoptions.h"
#include "ui_importimageseqpreview.h"
#include "util.h"
#include "app_util.h"

#include "editor.h"
#include "predefinedsetmodel.h"
Expand Down Expand Up @@ -165,6 +166,7 @@ void ImportImageSeqDialog::importArbitrarySequence()

// Show a progress dialog, as this can take a while if you have lots of images.
QProgressDialog progress(tr("Importing image sequence..."), tr("Abort"), 0, 100, mParent);
hideQuestionMark(progress);
progress.setWindowModality(Qt::WindowModal);
progress.show();

Expand Down Expand Up @@ -302,6 +304,7 @@ void ImportImageSeqDialog::importPredefinedSet()

// Show a progress dialog, as this can take a while if you have lots of images.
QProgressDialog progress(tr("Importing images..."), tr("Abort"), 0, 100, mParent);
hideQuestionMark(progress);
progress.setWindowModality(Qt::WindowModal);
progress.show();

Expand Down
1 change: 1 addition & 0 deletions app/src/mainwindow2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -657,6 +657,7 @@ bool MainWindow2::openObject(QString strFilePath, bool checkForChanges)
bool MainWindow2::saveObject(QString strSavedFileName)
{
QProgressDialog progress(tr("Saving document..."), tr("Abort"), 0, 100, this);
hideQuestionMark(progress);
progress.setWindowModality(Qt::WindowModal);
progress.show();

Expand Down

0 comments on commit 90e7164

Please sign in to comment.