Index: sources/applicationcontroller.cpp =================================================================== diff -u -r56d00a82669a7a2c00ab90109a89dbec8db27527 -r862dc0590b73c618fac73dce2c976e3526e0404a --- sources/applicationcontroller.cpp (.../applicationcontroller.cpp) (revision 56d00a82669a7a2c00ab90109a89dbec8db27527) +++ sources/applicationcontroller.cpp (.../applicationcontroller.cpp) (revision 862dc0590b73c618fac73dce2c976e3526e0404a) @@ -59,7 +59,7 @@ */ bool ApplicationController::init(QThread &vThread) { - if ( init() ) return false; + if ( ! init() ) return false; initThread(vThread); return true; } Index: sources/canbus/frameinterface.cpp =================================================================== diff -u -r56d00a82669a7a2c00ab90109a89dbec8db27527 -r862dc0590b73c618fac73dce2c976e3526e0404a --- sources/canbus/frameinterface.cpp (.../frameinterface.cpp) (revision 56d00a82669a7a2c00ab90109a89dbec8db27527) +++ sources/canbus/frameinterface.cpp (.../frameinterface.cpp) (revision 862dc0590b73c618fac73dce2c976e3526e0404a) @@ -56,7 +56,7 @@ */ bool FrameInterface::init(QThread &vThread) { - if ( init() ) return false; + if ( ! init() ) return false; initThread(vThread); return true; } Index: sources/canbus/messagedispatcher.cpp =================================================================== diff -u -r56d00a82669a7a2c00ab90109a89dbec8db27527 -r862dc0590b73c618fac73dce2c976e3526e0404a --- sources/canbus/messagedispatcher.cpp (.../messagedispatcher.cpp) (revision 56d00a82669a7a2c00ab90109a89dbec8db27527) +++ sources/canbus/messagedispatcher.cpp (.../messagedispatcher.cpp) (revision 862dc0590b73c618fac73dce2c976e3526e0404a) @@ -56,7 +56,7 @@ */ bool MessageDispatcher::init(QThread &vThread) { - if ( init() ) return false; + if ( ! init() ) return false; initThread(vThread); return true; } Index: sources/gui/guicontroller.cpp =================================================================== diff -u -r56d00a82669a7a2c00ab90109a89dbec8db27527 -r862dc0590b73c618fac73dce2c976e3526e0404a --- sources/gui/guicontroller.cpp (.../guicontroller.cpp) (revision 56d00a82669a7a2c00ab90109a89dbec8db27527) +++ sources/gui/guicontroller.cpp (.../guicontroller.cpp) (revision 862dc0590b73c618fac73dce2c976e3526e0404a) @@ -40,7 +40,7 @@ */ bool GuiController::init(QThread &vThread) { - if ( init() ) return false; + if ( ! init() ) return false; initThread(vThread); return true; } 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');