Skip to content

Commit

Permalink
Added fix for persistent fileDownloader on Linux.
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertKrajewski committed Jan 30, 2015
1 parent cb64653 commit 4381c78
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions browser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -535,6 +535,13 @@ void Browser::on_syncPushButton_clicked()
}
}

#ifdef __linux__
// Kurzes warten, da es sonst zu Fehldarstellungen unter Linux kommen kann,
// wenn das Fenster zu schnell wieder geschlossen wird
QThread::msleep(20);
QLOG_ERROR() << "LINUX";
#endif
loader->hide();
loader->close();

// Automatisches Beenden nach der Synchronisation
Expand Down

0 comments on commit 4381c78

Please sign in to comment.