Remove inclusion of <QThread> from misc.h

This commit is contained in:
Ivan Sorokin
2014-10-18 03:29:12 +04:00
parent be338b969c
commit 5ea1a4c3cc
3 changed files with 19 additions and 11 deletions

View File

@@ -666,7 +666,7 @@ void PropertiesWidget::renameSelectedFile() {
int timeout = 10;
while(!QDir().rmpath(old_folder.absolutePath()) && timeout > 0) {
// XXX: We should not sleep here (freezes the UI for 1 second)
SleeperThread::msleep(100);
misc::msleep(100);
--timeout;
}
}