Drop unused variables
SVN_SILENT
This commit is contained in:
parent
9930044581
commit
31386d2f25
4 changed files with 0 additions and 9 deletions
|
@ -216,10 +216,6 @@ void BlurEffect::drawRegion(const QRegion ®ion)
|
||||||
|
|
||||||
void BlurEffect::prePaintScreen(ScreenPrePaintData &data, int time)
|
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_damagedArea = QRegion();
|
||||||
m_currentBlur = QRegion();
|
m_currentBlur = QRegion();
|
||||||
|
|
||||||
|
|
|
@ -116,9 +116,7 @@ void TrackMouseEffect::paintScreen(int mask, QRegion region, ScreenPaintData& da
|
||||||
#ifndef KWIN_HAVE_OPENGLES
|
#ifndef KWIN_HAVE_OPENGLES
|
||||||
glPushAttrib(GL_CURRENT_BIT | GL_ENABLE_BIT);
|
glPushAttrib(GL_CURRENT_BIT | GL_ENABLE_BIT);
|
||||||
#endif
|
#endif
|
||||||
bool useShader = false;
|
|
||||||
if (ShaderManager::instance()->isValid()) {
|
if (ShaderManager::instance()->isValid()) {
|
||||||
useShader = true;
|
|
||||||
ShaderManager::instance()->pushShader(ShaderManager::SimpleShader);
|
ShaderManager::instance()->pushShader(ShaderManager::SimpleShader);
|
||||||
}
|
}
|
||||||
texture->bind();
|
texture->bind();
|
||||||
|
|
|
@ -1116,8 +1116,6 @@ void KMovingConfig::load(void)
|
||||||
|
|
||||||
void KMovingConfig::save(void)
|
void KMovingConfig::save(void)
|
||||||
{
|
{
|
||||||
int v;
|
|
||||||
|
|
||||||
KConfigGroup cg(config, "Windows");
|
KConfigGroup cg(config, "Windows");
|
||||||
|
|
||||||
cg.writeEntry(KWIN_MOVE_RESIZE_MAXIMIZED, moveResizeMaximized->isChecked());
|
cg.writeEntry(KWIN_MOVE_RESIZE_MAXIMIZED, moveResizeMaximized->isChecked());
|
||||||
|
|
|
@ -850,7 +850,6 @@ void WindowMotionManager::calculate(int time)
|
||||||
QHash<EffectWindow*, WindowMotion>::iterator it = m_managedWindows.begin();
|
QHash<EffectWindow*, WindowMotion>::iterator it = m_managedWindows.begin();
|
||||||
for (; it != m_managedWindows.end(); ++it) {
|
for (; it != m_managedWindows.end(); ++it) {
|
||||||
WindowMotion *motion = &it.value();
|
WindowMotion *motion = &it.value();
|
||||||
EffectWindow *window = it.key();
|
|
||||||
int stopped = 0;
|
int stopped = 0;
|
||||||
|
|
||||||
// TODO: What happens when distance() == 0 but we are still moving fast?
|
// TODO: What happens when distance() == 0 but we are still moving fast?
|
||||||
|
|
Loading…
Reference in a new issue