mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 18:32:49 +00:00
kdeui: remove unused KActionCategoryPrivate member
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
acdc2e7acf
commit
8f21b07de6
2 changed files with 2 additions and 14 deletions
|
@ -24,14 +24,8 @@
|
|||
|
||||
struct KActionCategoryPrivate
|
||||
{
|
||||
KActionCategoryPrivate(KActionCategory *host);
|
||||
|
||||
//! Our host
|
||||
KActionCategory *q;
|
||||
|
||||
//! The text for this category
|
||||
QString text;
|
||||
|
||||
//! List of actions
|
||||
QList<QAction*> actions;
|
||||
|
||||
|
@ -40,7 +34,7 @@ struct KActionCategoryPrivate
|
|||
|
||||
KActionCategory::KActionCategory(const QString &text, KActionCollection *parent)
|
||||
: QObject(parent),
|
||||
d(new KActionCategoryPrivate(this))
|
||||
d(new KActionCategoryPrivate())
|
||||
{
|
||||
d->text = text;
|
||||
}
|
||||
|
@ -141,10 +135,4 @@ void KActionCategory::unlistAction(QAction *action)
|
|||
d->actions.takeAt(index);
|
||||
}
|
||||
|
||||
|
||||
KActionCategoryPrivate::KActionCategoryPrivate( KActionCategory *host )
|
||||
: q(host)
|
||||
{
|
||||
}
|
||||
|
||||
#include "moc_kactioncategory.cpp"
|
||||
|
|
|
@ -175,7 +175,7 @@ private:
|
|||
*/
|
||||
void addAction(QAction *action);
|
||||
|
||||
//! KActionCollection needs access to some of our helper methods
|
||||
//! KActionCollection needs access to some of the helper methods
|
||||
friend class KActionCollectionPrivate;
|
||||
|
||||
//! Implementation details
|
||||
|
|
Loading…
Add table
Reference in a new issue