Index: sources/storage/usbwatcher.cpp =================================================================== diff -u -r862dc0590b73c618fac73dce2c976e3526e0404a -re58b907a69d4ca7daa77d69791593b886d1b80e8 --- sources/storage/usbwatcher.cpp (.../usbwatcher.cpp) (revision 862dc0590b73c618fac73dce2c976e3526e0404a) +++ sources/storage/usbwatcher.cpp (.../usbwatcher.cpp) (revision e58b907a69d4ca7daa77d69791593b886d1b80e8) @@ -99,6 +99,7 @@ _thread->setObjectName(QString("%1_Thread").arg(metaObject()->className())); connect(qApp, SIGNAL(aboutToQuit()), this, SLOT(quit())); _thread->start(); + _thread->setPriority(QThread::LowestPriority); moveToThread(_thread); } @@ -240,7 +241,7 @@ bool USBWatcher::usbUmount(const QString &vDevice) { bool ok; - ok = umount(vDevice.toLatin1().constData()) == 0; + ok = ::umount(vDevice.toLatin1().constData()) == 0; if (ok) { _mounted = false; LOG_EVENT(tr("USB drive unmounted"));