Commit aa7df781 authored by Albert Astals Cid's avatar Albert Astals Cid

Fix k3b not finishing if started without splash screen

BUG: 419105
parent e30f6f1d
......@@ -49,6 +49,7 @@
#include <QCommandLineParser>
#include <QDebug>
#include <QTimer>
K3b::Application::Core* K3b::Application::Core::s_k3bAppCore = 0;
......@@ -91,12 +92,9 @@ void K3b::Application::init( QCommandLineParser* commandLineParser )
else {
m_mainWindow->show();
}
processEvents();
if (splash) {
splash->hide();
QMetaObject::invokeMethod( splash, "close", Qt::QueuedConnection );
QTimer::singleShot(0, splash, &QWidget::close);
}
qRegisterMetaType<KSharedConfig::Ptr>( "KSharedConfig::Ptr" );
......
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