summaryrefslogtreecommitdiffstats
path: root/src/corelib/thread/qthread.cpp
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2010-03-17 17:31:53 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2010-03-17 17:31:53 (GMT)
commit48d3561b69adfc59b7b413dfc6f0857a8560b815 (patch)
tree3ad12dda36eb311b6209a228eca66c5892b41746 /src/corelib/thread/qthread.cpp
parent4c1f54097a1fb1acff817ba8caa8af347ae56cd2 (diff)
parentd6ab68fbd22b2d057b0e32e1bfc73a5e7dc9327d (diff)
downloadQt-48d3561b69adfc59b7b413dfc6f0857a8560b815.zip
Qt-48d3561b69adfc59b7b413dfc6f0857a8560b815.tar.gz
Qt-48d3561b69adfc59b7b413dfc6f0857a8560b815.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1: (38 commits) Force qt-zlib to be used for host system when cross compiling. qmake: fix to create proper install target in Makefile at first run compile fix for Windows Fixed focus handling when Qt is embedded into Cocoa app. Do not beep on Mac when pressing some keys. Do not deliver the same key event multiple times in Cocoa. Implement Idle-priority threads for Linux. Improved qt_x11_wait_for_window_manager Doc: document QElapsedTimer Added missing "const" for mac. qdoc3: Fixed some ifdef typos and removed some whitespace. Manual test for QTBUG-8933. Cocoa: minisplitter has only 1px wide grab area "Strictly" Fullscreen Application in Mac OS Bugfix the Symbian implementation Add QDateTime::currentDateTimeUtc and QDateTime::currentMsecsSinceEpoch remove, fixup Change the 32-bit rollover on Windows and Symbian to be more efficient. Add a couple of extra functions to QElapsedTimer Autotest: Rename the test to match the new class name ...
Diffstat (limited to 'src/corelib/thread/qthread.cpp')
-rw-r--r--src/corelib/thread/qthread.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/corelib/thread/qthread.cpp b/src/corelib/thread/qthread.cpp
index dd0c257..cb84538 100644
--- a/src/corelib/thread/qthread.cpp
+++ b/src/corelib/thread/qthread.cpp
@@ -617,7 +617,9 @@ QThread::Priority QThread::priority() const
{
Q_D(const QThread);
QMutexLocker locker(&d->mutex);
- return d->priority;
+
+ // mask off the high bits that are used for flags
+ return Priority(d->priority & 0xffff);
}
/*!