Changeset 40443 in vbox
- Timestamp:
- Mar 13, 2012 12:54:10 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/main.cpp
r39121 r40443 385 385 386 386 #ifdef Q_OS_SOLARIS 387 /* Solaris have some issue with cleanlooks style which leads to application 388 * crash in case of using it on Qt4.4 version, lets make the same substitute */ 389 if (VBoxGlobal::qtRTVersionString().startsWith ("4.4") && 390 qobject_cast <QCleanlooksStyle*> (QApplication::style())) 391 QApplication::setStyle (new QPlastiqueStyle); 387 /* Use plastique look 'n feel for Solaris instead of the default motif (Qt 4.7.x) */ 388 QApplication::setStyle (new QPlastiqueStyle); 392 389 #endif 393 390 … … 573 570 QApplication a (argc, &argv[0]); 574 571 #ifdef Q_OS_SOLARIS 575 /* Solaris have some issue with cleanlooks style which leads to application 576 * crash in case of using it on Qt4.4 version, lets make the same substitute */ 577 if (VBoxGlobal::qtRTVersionString().startsWith ("4.4") && 578 qobject_cast <QCleanlooksStyle*> (QApplication::style())) 579 QApplication::setStyle (new QPlastiqueStyle); 572 /* Use plastique look 'n feel for Solaris instead of the default motif (Qt 4.7.x) */ 573 QApplication::setStyle (new QPlastiqueStyle); 580 574 #endif 581 575 QString msgTitle = QApplication::tr ("VirtualBox - Runtime Error");
Note:
See TracChangeset
for help on using the changeset viewer.