[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdelibs/plasma/private
From: Thiago Macieira <thiago () kde ! org>
Date: 2010-07-07 7:22:19
Message-ID: 20100707072219.766DDAC8A8 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1146963 by thiago:
Don't call setPriority on a non-started thread.
QThread documentation says this doesn't do anything, so it's just
pointless. More than that, though, it's printing a warning.
M +1 -3 wallpaperrenderthread.cpp
--- trunk/KDE/kdelibs/plasma/private/wallpaperrenderthread.cpp #1146962:1146963
@@ -35,8 +35,6 @@
{
m_abort = false;
m_restart = false;
-
- setPriority(QThread::LowPriority);
}
WallpaperRenderThread::~WallpaperRenderThread()
@@ -74,7 +72,7 @@
}
if (!isRunning()) {
- start();
+ start(QThread::LowPriority);
} else {
m_condition.wakeOne();
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic