diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-08-16 21:18:01 -0500 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2015-12-23 02:22:46 +0100 |
commit | a182620a0a5bc81d09d76be0da7652de114ca814 (patch) | |
tree | e32bb57dc5e6fb97b4494e938caca9cdc0f1bc97 | |
parent | aaa5afedcdca81a36c23dbcdd596c72f4c9192b9 (diff) | |
download | tdelibs-a182620a0a5bc81d09d76be0da7652de114ca814.tar.gz tdelibs-a182620a0a5bc81d09d76be0da7652de114ca814.zip |
Revert a small portion of commit b66871c
This relates to Bug 1693
(cherry picked from commit a6da78df3a5f895c014fdc52bf1dd3ee7f9490fa)
-rw-r--r-- | kdeui/ktoolbar.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/kdeui/ktoolbar.cpp b/kdeui/ktoolbar.cpp index fec97dea1..a0b1602d0 100644 --- a/kdeui/ktoolbar.cpp +++ b/kdeui/ktoolbar.cpp @@ -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 ); } } |