[Uml-devel] KDE/kdesdk/umbrello/umbrello

Oliver Kellogg okellogg at users.sourceforge.net
Tue May 17 08:53:29 UTC 2005


SVN commit 415026 by okellogg:

make compile with KDE 3.2

 M  +5 -0      trunk/KDE/kdesdk/umbrello/umbrello/main.cpp  


--- trunk/KDE/kdesdk/umbrello/umbrello/main.cpp #415025:415026
@@ -61,9 +61,14 @@
 		cfg -> setGroup( "General Options" );
 		bool showLogo = cfg -> readBoolEntry( "logo", true );
 		if (showLogo) {
+#if KDE_IS_VERSION(3,2,90)
 			start_logo = new KStartupLogo(0);
 			start_logo->setHideEnabled(true);
 			KWin::setMainWindow(start_logo, uml->winId());
+#else
+			start_logo = new KStartupLogo(uml);
+			start_logo->setHideEnabled(true);
+#endif
 			KWin::setState(start_logo->winId(), NET::KeepAbove);
 			start_logo->show();
 			QApplication::flushX();




More information about the umbrello-devel mailing list