summaryrefslogtreecommitdiffstats
path: root/SQLiteStudio3/coreSQLiteStudio/common/threadwitheventloop.cpp
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@ubuntu.com>2015-04-19 22:30:21 -0400
committerLibravatarUnit 193 <unit193@ubuntu.com>2015-04-19 22:30:21 -0400
commita308f430f694423064ebc86fd0506c8c6fdb3d93 (patch)
treeceacd24fecf92f40980f8d8f3fd169e317c886af /SQLiteStudio3/coreSQLiteStudio/common/threadwitheventloop.cpp
parenta5b034d4a9c44f9bc1e83b01de82530f8fc63013 (diff)
Imported Upstream version 3.0.5upstream/3.0.5
Diffstat (limited to 'SQLiteStudio3/coreSQLiteStudio/common/threadwitheventloop.cpp')
-rw-r--r--SQLiteStudio3/coreSQLiteStudio/common/threadwitheventloop.cpp17
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();
+}
+