kdecore: remove unused and private KToolInvocation member

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2022-09-23 09:11:40 +03:00
parent 1a06d034e0
commit 6d54b1e31b
2 changed files with 7 additions and 9 deletions

View file

@ -43,7 +43,8 @@ KToolInvocation *KToolInvocation::self()
return s_self; return s_self;
} }
KToolInvocation::KToolInvocation() : QObject(0), d(0) KToolInvocation::KToolInvocation()
: QObject(0)
{ {
} }

View file

@ -31,7 +31,6 @@
class OrgKdeKLauncherInterface; class OrgKdeKLauncherInterface;
class KUrl; class KUrl;
class KToolInvocationPrivate;
/** /**
* KToolInvocation: for starting other programs * KToolInvocation: for starting other programs
@ -334,8 +333,6 @@ private:
const QByteArray& startup_id, bool noWait, const QByteArray& startup_id, bool noWait,
const QString& workdir = QString()); const QString& workdir = QString());
static bool isMainThreadActive(QString* error = 0); static bool isMainThreadActive(QString* error = 0);
KToolInvocationPrivate * const d;
}; };
#endif #endif