mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 15:07:22 -06:00
Remove inclusion of <QThread> from misc.h
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user