diff options
Diffstat (limited to 'src/util.cpp')
-rw-r--r-- | src/util.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/util.cpp b/src/util.cpp index 5bba527e..15a19ca1 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -125,19 +125,6 @@ bool Util::checkConfig() { } /** - * @brief Util::qSleep because . . windows sleep. - * @param ms - */ -void Util::qSleep(int ms) { -#ifdef Q_OS_WIN - Sleep(uint(ms)); -#else - struct timespec ts = {ms / 1000, (ms % 1000) * 1000 * 1000}; - nanosleep(&ts, NULL); -#endif -} - -/** * @brief Util::getDir get selectd folder path * @param index * @param forPass short or full path |