From c67771eb6aa38daab1f7222fc6c2b53c90a66b0e Mon Sep 17 00:00:00 2001 From: am Date: Wed, 19 Aug 2009 18:14:50 +0000 Subject: -created and added splash screen git-svn-id: file:///var/svn/repos2/shemov/trunk@403 f440f766-f032-0410-8965-dc7d17de2ca0 --- main.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'main.cpp') diff --git a/main.cpp b/main.cpp index 58fea7a..d34ea40 100644 --- a/main.cpp +++ b/main.cpp @@ -6,6 +6,7 @@ */ #include +#include #include "shemov.h" @@ -15,6 +16,10 @@ int main(int argc, char **argv){ QCoreApplication::setOrganizationDomain("hadante.servebeer.com"); QCoreApplication::setApplicationName("SheMov"); QCoreApplication::setApplicationVersion("0.1"); - (void) new SheMov; + QPixmap splash(":/shemov_splash.png"); + QSplashScreen sp(splash); + sp.show(); + SheMov *sm = new SheMov; + sp.finish(sm); return app.exec(); } -- cgit v1.2.3-70-g09d2