VirtualBox

Changeset 23296 in vbox


Ignore:
Timestamp:
Sep 24, 2009 4:29:16 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
52789
Message:

FE/Qt4: patch Plastique style for Solaris in non-hardened builds as well.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/main.cpp

    r23138 r23296  
    582582    {
    583583        QApplication a (argc, &argv[0]);
     584#ifdef Q_OS_SOLARIS
     585        /* Solaris have some issue with cleanlooks style which leads to application
     586         * crash in case of using it on Qt4.4 version, lets make the same substitute */
     587        if (VBoxGlobal::qtRTVersionString().startsWith ("4.4") &&
     588            qobject_cast <QCleanlooksStyle*> (QApplication::style()))
     589            QApplication::setStyle (new QPlastiqueStyle);
     590#endif
    584591        QString msgTitle = QApplication::tr ("VirtualBox - Runtime Error");
    585592        QString msgText = "<html>";
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette