Index: sources/storage/DriveWatcher.h =================================================================== diff -u -r00d9bb06ec2bad14f6dc2db678b750c244f694ef -rc503f43840024e18650c1ac558448dd0f3b70427 --- sources/storage/DriveWatcher.h (.../DriveWatcher.h) (revision 00d9bb06ec2bad14f6dc2db678b750c244f694ef) +++ sources/storage/DriveWatcher.h (.../DriveWatcher.h) (revision c503f43840024e18650c1ac558448dd0f3b70427) @@ -17,7 +17,7 @@ #include // Project -#include "main.h" +#include "main.h" // Doxygen : don't remove #include "Threads.h" // Define @@ -38,6 +38,9 @@ { Q_OBJECT + // Singleton + SINGLETON(DriveWatcher) + // friends friend class ::tst_initializations; @@ -52,9 +55,6 @@ QThread *_thread = nullptr; bool _init = false; -// Singleton -SINGLETON(DriveWatcher); - public slots: bool init(); bool init(QThread &vThread);