Revert a small portion of commit b66871c

This relates to Bug 1693
(cherry picked from commit a6da78df3a)
v3.5.13-sru
Timothy Pearson 10 years ago committed by Slávek Banko
parent aaa5afedcd
commit a182620a0a

@ -859,9 +859,8 @@ void KToolBar::setIconText(IconText icontext, bool update)
TQMainWindow *mw = mainWindow();
if ( mw ) {
mw->setUpdatesEnabled( false );
// mw->setToolBarsMovable( !mw->toolBarsMovable() ); // Old way
// mw->setToolBarsMovable( !mw->toolBarsMovable() );
mw->setCentralWidget(mw->centralWidget()); // This is a faster hack
mw->setToolBarsMovable( !mw->toolBarsMovable() );
mw->setToolBarsMovable( !mw->toolBarsMovable() );
mw->setUpdatesEnabled( true );
}
}
@ -897,9 +896,8 @@ void KToolBar::setIconSize(int size, bool update)
if ( mainWindow() ) {
TQMainWindow *mw = mainWindow();
mw->setUpdatesEnabled( false );
// mw->setToolBarsMovable( !mw->toolBarsMovable() ); // Old way
// mw->setToolBarsMovable( !mw->toolBarsMovable() );
mw->setCentralWidget(mw->centralWidget()); // This is a faster hack
mw->setToolBarsMovable( !mw->toolBarsMovable() );
mw->setToolBarsMovable( !mw->toolBarsMovable() );
mw->setUpdatesEnabled( true );
}
}

Loading…
Cancel
Save