[Kst] branches/work/kst/portto4/kst/src/libkstapp
Peter Kümmel
syntheticpp at gmx.net
Wed Jan 16 20:01:42 UTC 2013
SVN commit 1333220 by kuemmel:
use Fusion style with Qt5
M +5 -0 application.cpp
--- branches/work/kst/portto4/kst/src/libkstapp/application.cpp #1333219:1333220
@@ -28,11 +28,16 @@
#include <QIcon>
+
namespace Kst {
Application::Application(int &argc, char **argv)
: QApplication(argc, argv) {
+#ifdef QT5
+ QApplication::setStyle("Fusion");
+#endif
+
QCoreApplication::setApplicationName("Kst");
setWindowIcon(QPixmap(":kst.png"));
More information about the Kst
mailing list