[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [sprinter/gko/master] sprinter: instance()
From: Aaron J. Seigo <aseigo () kde ! org>
Date: 2014-03-06 10:20:21
Message-ID: E1WLVPZ-0007ZS-9d () scm ! kde ! org
[Download RAW message or body]
Git commit 7d77e14f9670694b2322f981add5ebe87758e592 by Aaron J. Seigo.
Committed on 25/02/2014 at 20:04.
Pushed by aseigo into branch 'gko/master'.
instance()
M +2 -4 sprinter/querysessionthread_p.cpp
http://commits.kde.org/sprinter/7d77e14f9670694b2322f981add5ebe87758e592
diff --git a/sprinter/querysessionthread_p.cpp b/sprinter/querysessionthread_p.cpp
index af5801f..85e8bab 100644
--- a/sprinter/querysessionthread_p.cpp
+++ b/sprinter/querysessionthread_p.cpp
@@ -38,11 +38,9 @@
#ifdef DEBUG_THREADING
#define CHECK_IS_WORKER_THREAD \
- /*qDebug() << QThread::currentThread();*/ \
- Q_ASSERT_X(QThread::currentThread() != QCoreApplication::thread(), "QeST \
thread check", "should be in worker thread, is not"); + \
Q_ASSERT_X(QThread::currentThread() != QCoreApplication::instance()->thread(), "QeST \
thread check", "should be in worker thread, is not"); #define CHECK_IS_GUI_THREAD \
- /*qDebug() << QThread::currentThread();*/ \
- Q_ASSERT_X(QThread::currentThread() == QCoreApplication::thread(), "QeST \
thread check", "should be in GUI thread, is not"); + \
Q_ASSERT_X(QThread::currentThread() == QCoreApplication::instance()->thread(), "QeST \
thread check", "should be in GUI thread, is not"); #else
#define CHECK_IS_WORKER_THREAD
#define CHECK_IS_GUI_THREAD
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic