diff options
Diffstat (limited to 'lumina-fm')
-rw-r--r-- | lumina-fm/FODialog.cpp | 4 | ||||
-rw-r--r-- | lumina-fm/FODialog.h | 1 | ||||
-rw-r--r-- | lumina-fm/MainUI.cpp | 2 |
3 files changed, 3 insertions, 4 deletions
diff --git a/lumina-fm/FODialog.cpp b/lumina-fm/FODialog.cpp index e10b825e..165733e3 100644 --- a/lumina-fm/FODialog.cpp +++ b/lumina-fm/FODialog.cpp @@ -112,6 +112,8 @@ bool FODialog::CheckOverwrite(){ else{ ok = false; } //cancel operations } } + QApplication::processEvents(); + QApplication::processEvents(); return ok; } @@ -131,8 +133,6 @@ void FODialog::UpdateItem(int cur, int tot, QString oitem, QString nitem){ } msg = ui->label->fontMetrics().elidedText(msg, Qt::ElideRight, ui->label->width()); ui->label->setText( msg ); - //this->repaint(); - QApplication::processEvents( QEventLoop::ExcludeUserInputEvents ); } void FODialog::WorkDone(QStringList errlist){ diff --git a/lumina-fm/FODialog.h b/lumina-fm/FODialog.h index 005e6d01..d80d4a39 100644 --- a/lumina-fm/FODialog.h +++ b/lumina-fm/FODialog.h @@ -47,7 +47,6 @@ public slots: void slotStartOperations(); private: - QStringList subfiles(QString dirpath, bool dirsfirst = false); //recursive function for fetching all "child" files/dirs (dirs last by default) QString newFileName(QString path); QStringList removeItem(QString path, bool recursive = false); diff --git a/lumina-fm/MainUI.cpp b/lumina-fm/MainUI.cpp index 66a0cab2..1b01a855 100644 --- a/lumina-fm/MainUI.cpp +++ b/lumina-fm/MainUI.cpp @@ -9,7 +9,7 @@ #include <QImageWriter> -#define DEBUG 1 +#define DEBUG 0 MainUI::MainUI() : QMainWindow(), ui(new Ui::MainUI){ ui->setupUi(this); |