diff options
Diffstat (limited to 'SQLiteStudio3/coreSQLiteStudio/common/threadwitheventloop.cpp')
| -rw-r--r-- | SQLiteStudio3/coreSQLiteStudio/common/threadwitheventloop.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/SQLiteStudio3/coreSQLiteStudio/common/threadwitheventloop.cpp b/SQLiteStudio3/coreSQLiteStudio/common/threadwitheventloop.cpp new file mode 100644 index 0000000..c05eb1e --- /dev/null +++ b/SQLiteStudio3/coreSQLiteStudio/common/threadwitheventloop.cpp @@ -0,0 +1,17 @@ +#include "threadwitheventloop.h" +#include <QDebug> + +ThreadWithEventLoop::ThreadWithEventLoop(QObject* parent) : + QThread(parent) +{ +} + +ThreadWithEventLoop::~ThreadWithEventLoop() +{ +} + +void ThreadWithEventLoop::run() +{ + exec(); +} + |
