From: Simon Rit Date: Tue, 17 May 2011 17:26:51 +0000 (+0200) Subject: Remove useless splashscreen code X-Git-Tag: v1.2.1~23 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=73cdef4a7caa7ee8f0caa8c0ac40255b5d972772;p=clitk.git Remove useless splashscreen code --- diff --git a/vv/vv.cxx b/vv/vv.cxx index 0bfc01e..13a513e 100644 --- a/vv/vv.cxx +++ b/vv/vv.cxx @@ -61,7 +61,7 @@ std::string create_timed_string() } //------------------------------------------------------------------------------ -#ifdef _WIN32 +#ifdef _WIN32 int CALLBACK WinMain(HINSTANCE hInstance, HINSTANCE prevInstance, LPSTR lpCmdLine, int nShowCmd) { int argc = __argc; @@ -75,13 +75,6 @@ int main( int argc, char** argv ) QApplication app( argc, argv ); Q_INIT_RESOURCE(vvIcons); - //QPixmap pixmap(":/splashscreen.PNG"); - QSplashScreen *splash = new QSplashScreen(QPixmap(QString::fromUtf8(":/new/prefix1/splashscreen.PNG"))); - /*splash->showMessage("VV 1.0 developped by Léon Bérard c`ancer center http://www.centreleonberard.fr and CREATIS-LRMN http://www.creatis.insa-lyon.fr",(Qt::AlignRight | Qt::AlignBottom));*/ - // splash->show(); - QTimer::singleShot(2000, splash, SLOT(close())); - while (!splash->isHidden()) - app.processEvents(); vvMainWindow window;