mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-13 00:33:09 -07:00
Drop QThread::msleep wrapper
This commit is contained in:
parent
d5d946dd66
commit
335443e6a0
5 changed files with 6 additions and 25 deletions
|
@ -31,6 +31,7 @@
|
|||
|
||||
#include <QDebug>
|
||||
#include <QScopedPointer>
|
||||
#include <QThread>
|
||||
|
||||
#ifndef DISABLE_GUI
|
||||
// GUI-only includes
|
||||
|
@ -168,7 +169,7 @@ int main(int argc, char *argv[])
|
|||
#endif
|
||||
qDebug("qBittorrent is already running for this user.");
|
||||
|
||||
Utils::Misc::msleep(300);
|
||||
QThread::msleep(300);
|
||||
app->sendParams(params.torrents);
|
||||
|
||||
return EXIT_SUCCESS;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue