Bug 206310 - KToolBar::setToolButtonStyle() will change only to Qt::ToolButtonTextBesideIcon
Summary: KToolBar::setToolButtonStyle() will change only to Qt::ToolButtonTextBesideIcon
Status: RESOLVED UPSTREAM
Alias: None
Product: kdelibs
Classification: Unmaintained
Component: kdeui (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-05 01:19 UTC by David Boosalis
Modified: 2011-01-07 19:45 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Boosalis 2009-09-05 01:19:57 UTC
Version:            (using Devel)
Compiler:          gcc 4.3 32Bite
OS:                Linux
Installed from:    Compiled sources

When trying to set the button style. I find that KToolBar::setToolButtonStyle() does not work.  It always sets the style to Qt:;ToolButtonTextBesideIcon no matter what the argument is.  This may be a QToolBar bug.  I am using KDE from SVN and qt-kde.

Note QMainWindow::setToolButtonStyle fails in the same way
Comment 1 Kevin Funk 2011-01-07 17:03:20 UTC
Just stumbled upon this bug, closing it, as:
a) not within the scope of KToolBar as setToolButtonStyle() is not overwritten by it.
b) probably outdated and fixed in Qt
Comment 2 Christoph Feck 2011-01-07 19:17:04 UTC
> not within the scope of KToolBar as setToolButtonStyle() is not overwritten by it.

It is, see KToolBar::Private::applyCurrentSettings().
Comment 3 Kevin Funk 2011-01-07 19:45:31 UTC
Sorry, that was unclear. What I wanted to say: KToolBar doesnt reimplement setToolButtonStyle, so we're using Qt's own implementation here.