Index: sources/storage/usbwatcher.cpp =================================================================== diff -u -re58b907a69d4ca7daa77d69791593b886d1b80e8 -r8c69137f18382bdc55a5678e6ed44a7683fe4dea --- sources/storage/usbwatcher.cpp (.../usbwatcher.cpp) (revision e58b907a69d4ca7daa77d69791593b886d1b80e8) +++ sources/storage/usbwatcher.cpp (.../usbwatcher.cpp) (revision 8c69137f18382bdc55a5678e6ed44a7683fe4dea) @@ -29,6 +29,12 @@ // namespace using namespace Storage; +/*! + * \brief USBWatcher::USBWatcher + * \details Constructor + * \param parent - QObject parent owner object. + * Qt handles the children destruction by their parent objects life-cycle. + */ USBWatcher::USBWatcher(QObject *parent) : QObject(parent) { } /*! @@ -99,7 +105,6 @@ _thread->setObjectName(QString("%1_Thread").arg(metaObject()->className())); connect(qApp, SIGNAL(aboutToQuit()), this, SLOT(quit())); _thread->start(); - _thread->setPriority(QThread::LowestPriority); moveToThread(_thread); }