[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: KToolBarButton has casts!
From:       David Faure <david () mandrakesoft ! com>
Date:       2000-04-17 7:47:57
[Download RAW message or body]

KToolBar is indeed full of casts - and I protected several of them
using inherits().

But assuming a toolbar-button is inside a toolbar seems to me a fair assumption,
no ? Where else do you put toolbar buttons ?

On Mon, Apr 17, 2000 at 01:19:17AM -0700, Charles wrote:
> 
> KToolBarButton is casting from QWidget to a KToolBar
> 
> Basically, if you don't use it in a KToolbar, you get a nice core to dump into
> the fire.
> 
> Preferably, make it work in a QWidget, rather than just changing QWidgets to
> KToolbars :)
> 
> -Charles

-- 
David FAURE
david@mandrakesoft.com, faure@kde.org
http://home.clara.net/faure/
KDE, Making The Future of Computing Available Today

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic