[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/workspace/krunner
From: Marco Martin <notmart () gmail ! com>
Date: 2010-06-24 20:22:21
Message-ID: 20100624202221.B1092AC8DD () svn ! kde ! org
[Download RAW message or body]
SVN commit 1142394 by mart:
connect to repaintNeeded(), we are sure it will arrive after themeUpdated()
M +2 -3 krunnerdialog.cpp
--- trunk/KDE/kdebase/workspace/krunner/krunnerdialog.cpp #1142393:1142394
@@ -86,9 +86,7 @@
this, SLOT(screenChanged(Kephal::Screen*)));
connect(KWindowSystem::self(), SIGNAL(workAreaChanged()), this, \
SLOT(resetScreenPos()));
- connect(m_background, SIGNAL(repaintNeeded()), this, SLOT(update()));
-
- connect(Plasma::Theme::defaultTheme(), SIGNAL(themeChanged()), this, \
SLOT(themeUpdated())); + connect(m_background, SIGNAL(repaintNeeded()), this, \
SLOT(themeUpdated())); themeUpdated();
}
@@ -327,6 +325,7 @@
//kDebug() << m_leftBorderWidth<< topHeight<< m_rightBorderWidth<< \
m_bottomBorderHeight;
// the +1 gives us the extra mouseMoveEvent needed to always reset the resize \
cursor
setContentsMargins(m_leftBorderWidth + 1, topHeight, m_rightBorderWidth + 1, \
m_bottomBorderHeight + 1); + update();
}
void KRunnerDialog::paintEvent(QPaintEvent *e)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic