kdeui: remove unused KActionCategoryPrivate member

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2023-08-28 01:27:27 +03:00
parent acdc2e7acf
commit 8f21b07de6
2 changed files with 2 additions and 14 deletions

View file

@ -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"

View file

@ -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