Commit cf937de7 authored by Boudewijn Rempt's avatar Boudewijn Rempt

remove unused removeSplash method

parent eff5fa3f
......@@ -102,7 +102,6 @@ public:
KConfigGroup cfg(KGlobal::config(), "SplashScreen");
bool hideSplash = cfg.readEntry("HideSplashAfterStartup", false);
if (hideSplash) {
m_splash->hide();
}
......@@ -112,13 +111,15 @@ public:
m_splash->setParent(qApp->activeWindow());
QRect r(QPoint(), m_splash->size());
m_splash->move(QApplication::desktop()->screenGeometry().center() - r.center());
m_splash->show();
foreach(QObject *o, m_splash->children()) {
QWidget *w = qobject_cast<QWidget*>(o);
if (w && w->isHidden()) {
w->setVisible(true);
}
}
m_splash->show();
}
}
}
......@@ -605,13 +606,6 @@ QList<KoPart*> KoApplication::partList() const
return d->partList;
}
void KoApplication::removeSplash()
{
d->splashScreen->hide();
delete d->splashScreen;
d->splashScreen = 0;
}
QStringList KoApplication::mimeFilter(KoFilterManager::Direction direction) const
{
KoDocumentEntry entry = KoDocumentEntry::queryByMimeType(d->nativeMimeType);
......
......@@ -87,11 +87,6 @@ public:
QList<KoPart*> partList() const;
/**
* Remove the splash dialog
*/
void removeSplash();
/**
* return a list of mimetypes this application supports.
*/
......
Markdown is supported
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