From kde-commits Fri Dec 31 21:05:52 2010 From: Pino Toscano Date: Fri, 31 Dec 2010 21:05:52 +0000 To: kde-commits Subject: extragear/utils/kpager Message-Id: <20101231210552.A16C7AC8AE () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=129382959511641 SVN commit 1210511 by pino: comment out the manual upating of the desktop frames on desktop change it seems unnecessary now, and the update of a desktop widget does the job correctly M +2 -2 kpager.cpp --- trunk/extragear/utils/kpager/kpager.cpp #1210510:1210511 @@ -558,9 +558,9 @@ void KPager::slotCurrentDesktopChanged(int desk) { if (m_currentDesktop==desk) return; - m_desktops[m_currentDesktop-1]->paintFrame( false ); +// m_desktops[m_currentDesktop-1]->paintFrame( false ); m_desktops[m_currentDesktop-1]->update(); - m_desktops[desk-1]->paintFrame( true ); +// m_desktops[desk-1]->paintFrame( true ); m_desktops[desk-1]->update(); // m_desktops[m_currentDesktop-1]->update(); // m_desktops[desk-1]->update();