Commit 36ff83c0 authored by Andre Heinecke's avatar Andre Heinecke
Browse files

Remove splashscreen code from selftestcommand

Splashscreen is gone for good.
parent d025eb8c
......@@ -53,7 +53,6 @@
#include <KLocalizedString>
#include <KConfigGroup>
#include <QSplashScreen>
#include <KSharedConfig>
#include <boost/shared_ptr.hpp>
......@@ -118,11 +117,6 @@ private:
} else {
dialog->show();
}
#ifndef QT_NO_SPLASHSCREEN
if (splash) {
splash->finish(dialog);
}
#endif // QT_NO_SPLASHSCREEN
}
bool runAtStartUp() const
......@@ -198,9 +192,6 @@ private:
}
private:
#ifndef QT_NO_SPLASHSCREEN
QPointer<QSplashScreen> splash;
#endif // QT_NO_SPLASHSCREEN
QPointer<SelfTestDialog> dialog;
bool canceled;
bool automatic;
......@@ -220,9 +211,6 @@ const SelfTestCommand::Private *SelfTestCommand::d_func() const
SelfTestCommand::Private::Private(SelfTestCommand *qq, KeyListController *c)
: Command::Private(qq, c),
#ifndef QT_NO_SPLASHSCREEN
splash(),
#endif // QT_NO_SPLASHSCREEN
dialog(),
canceled(false),
automatic(false)
......@@ -262,15 +250,6 @@ void SelfTestCommand::setAutomaticMode(bool on)
}
}
void SelfTestCommand::setSplashScreen(QSplashScreen *splash)
{
#ifndef QT_NO_SPLASHSCREEN
d->splash = splash;
#else
Q_UNUSED(splash);
#endif // QT_NO_SPLASHSCREEN
}
bool SelfTestCommand::isCanceled() const
{
return d->canceled;
......
......@@ -35,8 +35,6 @@
#include <commands/command.h>
class QSplashScreen;
namespace Kleo
{
namespace Commands
......@@ -51,7 +49,6 @@ public:
~SelfTestCommand();
void setAutomaticMode(bool automatic);
void setSplashScreen(QSplashScreen *splash);
bool isCanceled() const;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment