OSDN Git Service
(root)
/
kde
/
Katie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a75f6a
)
remove unused and internal qt_set_current_thread_to_main_thread()
author
Ivailo Monev
<xakepa10@laimg.moc>
Mon, 30 Mar 2020 00:00:30 +0000
(
00:00
+0000)
committer
Ivailo Monev
<xakepa10@laimg.moc>
Mon, 30 Mar 2020 00:00:30 +0000
(
00:00
+0000)
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
src/core/kernel/qcoreapplication.cpp
patch
|
blob
|
history
diff --git
a/src/core/kernel/qcoreapplication.cpp
b/src/core/kernel/qcoreapplication.cpp
index
24ec965
..
10f4ba4
100644
(file)
--- a/
src/core/kernel/qcoreapplication.cpp
+++ b/
src/core/kernel/qcoreapplication.cpp
@@
-166,12
+166,6
@@
Q_CORE_EXPORT uint qGlobalPostedEventsCount()
return currentThreadData->postEventList.size() - currentThreadData->postEventList.startOffset;
}
-
-void qt_set_current_thread_to_main_thread()
-{
- QCoreApplicationPrivate::theMainThread = QThread::currentThread();
-}
-
QCoreApplication *QCoreApplication::self = 0;
QAbstractEventDispatcher *QCoreApplicationPrivate::eventDispatcher = 0;
std::bitset<Qt::AA_AttributeCount> QCoreApplicationPrivate::attribs;