Index: sources/storage/usbwatcher.cpp =================================================================== diff -u -r56d00a82669a7a2c00ab90109a89dbec8db27527 -r862dc0590b73c618fac73dce2c976e3526e0404a --- sources/storage/usbwatcher.cpp (.../usbwatcher.cpp) (revision 56d00a82669a7a2c00ab90109a89dbec8db27527) +++ sources/storage/usbwatcher.cpp (.../usbwatcher.cpp) (revision 862dc0590b73c618fac73dce2c976e3526e0404a) @@ -58,7 +58,7 @@ */ bool USBWatcher::init(QThread &vThread) { - if ( init() ) return false; + if ( ! init() ) return false; initThread(vThread); return true; } @@ -123,7 +123,8 @@ * \param vDevice - Found device (/dev/sda1) * \return true if a device found */ -bool USBWatcher::usbSeek(QString &vDevice) { +bool USBWatcher::usbSeek(QString &vDevice) +{ QString device = ""; for (char a = 'a'; a <= 'z'; a++) { device = QString("/dev/sd%1%2").arg(a).arg('1');