[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdepim/mobile/lib
From:       Volker Krause <vkrause () kde ! org>
Date:       2010-12-08 21:53:45
Message-ID: 20101208215345.AEDC0AC8A7 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1204732 by vkrause:

hide wince splash screen on second launch as well


 M  +9 -0      kdeclarativeapplication.h  


--- trunk/KDE/kdepim/mobile/lib/kdeclarativeapplication.h #1204731:1204732
@@ -24,6 +24,10 @@
 #include <kuniqueapplication.h>
 #include <kdebug.h>
 
+#ifdef Q_OS_WINCE
+#include <windows.h>
+#endif
+
 class KCmdLineOptions;
 
 class MOBILEUI_EXPORT KDeclarativeApplicationBase : public KUniqueApplication
@@ -70,6 +74,11 @@
         m_mainView = new T;
         m_mainView->show();
       } else {
+#ifdef Q_OS_WINCE
+      HWND hWnd = ::FindWindow( _T( "SplashScreen" ), NULL );
+      if (hWnd != NULL)
+        ::ShowWindow( hWnd, SW_HIDE );
+#endif
         m_mainView->raise();
       }
 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic