Commit 9c2adc0e authored by Jan Möbius's avatar Jan Möbius

Get rid of all processEvents in Core



git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@12264 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 1e24e6a5
......@@ -248,7 +248,6 @@ Core::init() {
splash_->showMessage(tr("Initializing mainwindow") ,
Qt::AlignBottom | Qt::AlignLeft , Qt::white);
QApplication::processEvents();
}
coreWidget_ = new CoreWidget(viewModes_ , plugins, coreSlots_);
......@@ -547,7 +546,6 @@ Core::init() {
if ( OpenFlipper::Options::gui() && OpenFlipperSettings().value("Core/Gui/splash",true).toBool() ) {
splash_->showMessage(tr("Loading Configuration File ") + QString::number(i) + "/" + QString::number(optionFiles.size()) ,
Qt::AlignBottom | Qt::AlignLeft , Qt::white);
QApplication::processEvents();
}
// Load global ini files. Use only plugin global options from these files as the
......
......@@ -381,7 +381,6 @@ void Core::loadPlugins()
if ( OpenFlipper::Options::gui() && OpenFlipperSettings().value("Core/Gui/splash",true).toBool() ) {
splashMessage_ = tr("Loading Plugin %1/%2").arg(loadedPlugins.size()).arg(pluginlist.size()) ;
splash_->showMessage( splashMessage_ , Qt::AlignBottom | Qt::AlignLeft , Qt::white);
QApplication::processEvents();
}
}
......@@ -406,7 +405,6 @@ void Core::loadPlugins()
.arg(std::distance(loadedPlugins.begin(), it) + 1)
.arg(loadedPlugins.size());
splash_->showMessage( splashMessage_ , Qt::AlignBottom | Qt::AlignLeft , Qt::white);
QApplication::processEvents();
}
if ((*it)->instance() != 0 ) {
......@@ -733,7 +731,6 @@ void Core::loadPlugin(QString filename, bool silent, QString& _licenseErrors, QO
if ( OpenFlipper::Options::gui() && OpenFlipperSettings().value("Core/Gui/splash",true).toBool() ) {
splashMessage_ = splashMessage_ + " " + basePlugin->name() ;
splash_->showMessage( splashMessage_ , Qt::AlignBottom | Qt::AlignLeft , Qt::white);
QApplication::processEvents();
}
//Check if plugin is already loaded
......
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