Drop unused variables

SVN_SILENT
This commit is contained in:
Martin Gräßlin 2011-08-31 17:47:00 +02:00
parent 9930044581
commit 31386d2f25
4 changed files with 0 additions and 9 deletions

View file

@ -216,10 +216,6 @@ void BlurEffect::drawRegion(const QRegion &region)
void BlurEffect::prePaintScreen(ScreenPrePaintData &data, int time)
{
EffectWindowList windows = effects->stackingOrder();
QLinkedList<QRegion> blurRegions;
bool checkDecos = effects->decorationsHaveAlpha() && effects->decorationSupportsBlurBehind();
bool clipChanged = false;
m_damagedArea = QRegion();
m_currentBlur = QRegion();

View file

@ -116,9 +116,7 @@ void TrackMouseEffect::paintScreen(int mask, QRegion region, ScreenPaintData& da
#ifndef KWIN_HAVE_OPENGLES
glPushAttrib(GL_CURRENT_BIT | GL_ENABLE_BIT);
#endif
bool useShader = false;
if (ShaderManager::instance()->isValid()) {
useShader = true;
ShaderManager::instance()->pushShader(ShaderManager::SimpleShader);
}
texture->bind();

View file

@ -1116,8 +1116,6 @@ void KMovingConfig::load(void)
void KMovingConfig::save(void)
{
int v;
KConfigGroup cg(config, "Windows");
cg.writeEntry(KWIN_MOVE_RESIZE_MAXIMIZED, moveResizeMaximized->isChecked());

View file

@ -850,7 +850,6 @@ void WindowMotionManager::calculate(int time)
QHash<EffectWindow*, WindowMotion>::iterator it = m_managedWindows.begin();
for (; it != m_managedWindows.end(); ++it) {
WindowMotion *motion = &it.value();
EffectWindow *window = it.key();
int stopped = 0;
// TODO: What happens when distance() == 0 but we are still moving fast?