From kde-panel-devel Tue Jan 27 23:56:29 2009 From: 0xDeadC0de Date: Tue, 27 Jan 2009 23:56:29 +0000 To: kde-panel-devel Subject: Re: Review Request: Plasma::IconWidget::removeIconAction(QAction*) Message-Id: <1233100589.31866.0.camel () deadc0de-laptop> X-MARC-Message: https://marc.info/?l=kde-panel-devel&m=123310063031782 Can you not just do setAction(NULL); to have the same effect? On Sat, 2009-01-24 at 15:25 +0000, Alessandro Diaferia wrote: > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > http://reviewboard.vidsolbach.de/r/343/ > ----------------------------------------------------------- > > Review request for Plasma. > > > Summary > ------- > > Yo guys, it's been a looong time since my last patch.. aanyways :D I found the need for this method while working at the DeviceNotifier refactor since i'm using IconWidget as you can see in the screenshot. I simply needed a quick way to add and *remove* the eject action, but without this method i had to delete and re-create an IconWidget. I hope this is the right way to go for this method.. Waiting for your reply, hugs =) > > > Diffs > ----- > > trunk/KDE/kdelibs/plasma/widgets/iconwidget.h > trunk/KDE/kdelibs/plasma/widgets/iconwidget.cpp > > Diff: http://reviewboard.vidsolbach.de/r/343/diff > > > Testing > ------- > > > Screenshots > ----------- > > > http://reviewboard.vidsolbach.de/r/343/s/107/ > > > Thanks, > > Alessandro > > _______________________________________________ > Plasma-devel mailing list > Plasma-devel@kde.org > https://mail.kde.org/mailman/listinfo/plasma-devel _______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel