a6cc9f2
diff -up qt-x11-free-3.3.8b/src/kernel/qapplication.cpp.sane_defaults qt-x11-free-3.3.8b/src/kernel/qapplication.cpp
a6cc9f2
--- qt-x11-free-3.3.8b/src/kernel/qapplication.cpp.sane_defaults	2008-01-15 13:09:13.000000000 -0600
a6cc9f2
+++ qt-x11-free-3.3.8b/src/kernel/qapplication.cpp	2009-12-22 14:00:19.078553429 -0600
a6cc9f2
@@ -1241,7 +1241,7 @@ QStyle& QApplication::style()
a6cc9f2
 #elif defined(Q_WS_X11) && defined(Q_OS_IRIX)
a6cc9f2
 	    style = "SGI";			// default style for X11 on IRIX
a6cc9f2
 #elif defined(Q_WS_X11)
a6cc9f2
-		style = "Motif";		// default style for X11
a6cc9f2
+		style = "Platinum";		// default style for X11
a6cc9f2
 #elif defined(Q_WS_MAC)
a6cc9f2
 		style = "Macintosh";		// default style for all Mac's
a6cc9f2
 #elif defined(Q_WS_QWS)
a6cc9f2
@@ -1250,8 +1250,8 @@ QStyle& QApplication::style()
a6cc9f2
 	}
a6cc9f2
 	app_style = QStyleFactory::create( style );
a6cc9f2
 	if ( !app_style &&		// platform default style not available, try alternatives
a6cc9f2
-	     !(app_style = QStyleFactory::create( "Windows" ) ) &&
a6cc9f2
 	     !(app_style = QStyleFactory::create( "Platinum" ) ) &&
a6cc9f2
+	     !(app_style = QStyleFactory::create( "Windows" ) ) &&
a6cc9f2
 	     !(app_style = QStyleFactory::create( "MotifPlus" ) ) &&
a6cc9f2
 	     !(app_style = QStyleFactory::create( "Motif" ) ) &&
a6cc9f2
 	     !(app_style = QStyleFactory::create( "CDE" ) ) &&
a6cc9f2
@@ -1731,6 +1731,13 @@ QStringList QApplication::libraryPaths()
a6cc9f2
 	    app_libpaths->append(installPathPlugins);
a6cc9f2
 	}
a6cc9f2
 
a6cc9f2
+ #if defined(Q_WS_X11)
a6cc9f2
+	QString kde3PathPlugins = QString("@@KDE3_PLUGIN_PATH@@");
a6cc9f2
+	if ( QFile::exists(kde3PathPlugins) ) {
a6cc9f2
+	    app_libpaths->append(kde3PathPlugins);
a6cc9f2
+	}
a6cc9f2
+#endif
a6cc9f2
+
a6cc9f2
 	QString app_location;
a6cc9f2
 	if (qApp)
a6cc9f2
 	    app_location = qApp->applicationFilePath();
a6cc9f2
@@ -1933,7 +1940,7 @@ QFont QApplication::font( const QWidget 
a6cc9f2
 	}
a6cc9f2
     }
a6cc9f2
     if ( !app_font ) {
a6cc9f2
-	app_font = new QFont( "Helvetica" );
a6cc9f2
+	app_font = new QFont( "Sans" );
a6cc9f2
 	Q_CHECK_PTR( app_font );
a6cc9f2
     }
a6cc9f2
     return *app_font;
a6cc9f2
diff -up qt-x11-free-3.3.8b/src/kernel/qapplication_x11.cpp.sane_defaults qt-x11-free-3.3.8b/src/kernel/qapplication_x11.cpp
a6cc9f2
--- qt-x11-free-3.3.8b/src/kernel/qapplication_x11.cpp.sane_defaults	2008-01-15 13:09:13.000000000 -0600
a6cc9f2
+++ qt-x11-free-3.3.8b/src/kernel/qapplication_x11.cpp	2009-12-22 13:54:58.335802790 -0600
a6cc9f2
@@ -953,8 +953,11 @@ bool QApplication::x11_apply_settings()
a6cc9f2
     // read new QStyle
a6cc9f2
     extern bool qt_explicit_app_style; // defined in qapplication.cpp
a6cc9f2
     QString stylename = settings.readEntry( "/qt/style" );
a6cc9f2
-    if ( !stylename.isEmpty() && !qt_explicit_app_style ) {
a6cc9f2
-	QApplication::setStyle( stylename );
a6cc9f2
+    if ( !qt_explicit_app_style ) {
a6cc9f2
+	if ( stylename.isEmpty() )
a6cc9f2
+	    QApplication::setStyle( QString("Platinum") );
a6cc9f2
+	else
a6cc9f2
+	    QApplication::setStyle( stylename );
a6cc9f2
 	// took the style from the user settings, so mark the explicit flag FALSE
a6cc9f2
 	qt_explicit_app_style = FALSE;
a6cc9f2
     }
a6cc9f2
@@ -2095,11 +2098,11 @@ void qt_init_internal( int *argcptr, cha
a6cc9f2
 	// At 95 DPI, a 12 point font should be 16 pixels tall - in which case a 17
a6cc9f2
 	// pixel font is a closer match than a 12 pixel font
a6cc9f2
 	int ptsz =
a6cc9f2
-	    (int) ( ( ( QPaintDevice::x11AppDpiY() >= 95 ? 17. : 12. ) *
a6cc9f2
+	    (int) ( ( ( QPaintDevice::x11AppDpiY() >= 95 ? 13. : 11. ) *
a6cc9f2
 		      72. / (float) QPaintDevice::x11AppDpiY() ) + 0.5 );
a6cc9f2
 
a6cc9f2
 	if ( !qt_app_has_font && !qt_x11_cmdline_font ) {
a6cc9f2
-	    QFont f( "Helvetica", ptsz );
a6cc9f2
+	    QFont f( "Sans", ptsz );
a6cc9f2
 	    QApplication::setFont( f );
a6cc9f2
 	}
a6cc9f2