diff options
author | Timothy Pearson <[email protected]> | 2014-08-16 21:18:01 -0500 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2014-08-16 21:18:01 -0500 |
commit | a6da78df3a5f895c014fdc52bf1dd3ee7f9490fa (patch) | |
tree | 508dc29fa9924e316a3ea42e47250198bcfe9b75 /tdeui/tdetoolbar.cpp | |
parent | 2c1bb83ad60d4c376302f70d6c55ca9dcf7db548 (diff) | |
download | tdelibs-a6da78df3a5f895c014fdc52bf1dd3ee7f9490fa.tar.gz tdelibs-a6da78df3a5f895c014fdc52bf1dd3ee7f9490fa.zip |
Revert a small portion of commit b66871c
This relates to Bug 1693
Diffstat (limited to 'tdeui/tdetoolbar.cpp')
-rw-r--r-- | tdeui/tdetoolbar.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/tdeui/tdetoolbar.cpp b/tdeui/tdetoolbar.cpp index 2eb90a813..7c6902fed 100644 --- a/tdeui/tdetoolbar.cpp +++ b/tdeui/tdetoolbar.cpp @@ -859,9 +859,8 @@ void TDEToolBar::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 TDEToolBar::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 ); } } |