VirtualBox

Changeset 7767 in vbox for trunk/src


Ignore:
Timestamp:
Apr 7, 2008 1:12:25 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
29319
Message:

FE/Qt4: Removed some warnings.

File:
1 edited

Legend:

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

    r7342 r7767  
    100100            /* Needed for instance for the message ``cannot connect to X server'' */
    101101            RTStrmPrintf(g_pStdErr, "Qt WARNING: %s\n", msg);
     102#endif
     103            break;
     104        case QtCriticalMsg:
     105            Log (("Qt CRITICAL: %s\n", msg));
     106#ifdef Q_WS_X11
     107            /* Needed for instance for the message ``cannot connect to X server'' */
     108            RTStrmPrintf(g_pStdErr, "Qt CRITICAL: %s\n", msg);
    102109#endif
    103110            break;
     
    201208            QString msg =
    202209                QApplication::tr ("Executable <b>%1</b> requires Qt %2.x, found Qt %3.")
    203                                   .arg (QString::fromLatin1 (qAppName()))
     210                                  .arg (qAppName())
    204211                                  .arg (ver_str_base)
    205212                                  .arg (rt_ver_str);
     
    207214                0, QApplication::tr ("Incompatible Qt Library Error"),
    208215                msg, QMessageBox::Abort, 0);
    209             qFatal (msg.ascii());
     216            qFatal (msg.toAscii().constData());
    210217        }
    211218#endif
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