VirtualBox

Changeset 76731 in vbox for trunk


Ignore:
Timestamp:
Jan 9, 2019 11:16:46 AM (6 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9348: A bit of fixes for r127926.

Location:
trunk/src/VBox/Frontends/VirtualBox/src/platform
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/platform/win/UIDesktopServices_win.cpp

    r76622 r76731  
    3333    IPersistFile *pPPF = NULL;
    3434#ifdef VBOX_GUI_WITH_SHARED_LIBRARY
    35     QString strVBox = QDir::toNativeSeparators(QCoreApplication::applicationDirPath() + "/" + VBOX_GUI_VMRUNNER_IMAGE);
    36 
     35    const QString strVBox = QDir::toNativeSeparators(QCoreApplication::applicationDirPath() + "/" + VBOX_GUI_VMRUNNER_IMAGE);
    3736#else
    38     QString strVBox = QDir::toNativeSeparatorsgg (QCoreApplication::applicationFilePath());
     37    const QString strVBox = QDir::toNativeSeparators(QCoreApplication::applicationFilePath());
    3938#endif
    4039    QFileInfo fi(strVBox);
  • trunk/src/VBox/Frontends/VirtualBox/src/platform/x11/UIDesktopServices_x11.cpp

    r76622 r76731  
    3434    {
    3535#ifdef VBOX_GUI_WITH_SHARED_LIBRARY
    36         QString strVBox = QDir::toNativeSeparators(QCoreApplication::applicationDirPath() + "/" + VBOX_GUI_VMRUNNER_IMAGE);
     36        const QString strVBox = QDir::toNativeSeparators(QCoreApplication::applicationDirPath() + "/" + VBOX_GUI_VMRUNNER_IMAGE);
    3737#else
    38         QString strVBox = QDir::toNativeSeparators(QCoreApplication::applicationFilePath());
     38        const QString strVBox = QDir::toNativeSeparators(QCoreApplication::applicationFilePath());
    3939#endif
    4040        QTextStream out(&link);
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