VirtualBox

Changeset 10116 in vbox


Ignore:
Timestamp:
Jul 2, 2008 3:44:45 PM (16 years ago)
Author:
vboxsync
Message:

FE/Qt4-Win: build fix

File:
1 edited

Legend:

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

    r10115 r10116  
    32593259            QString result;
    32603260
    3261             QWidget *topParent = mParent ? mParent->window() : qApp->mainWidget();
     3261            QWidget *topParent = mParent ? mParent->window() : vboxGlobal().mainWindow();
    32623262            QString title = mCaption.isNull() ? tr ("Select a directory") : mCaption;
    32633263
     
    34163416            QString title = mCaption.isNull() ? tr ("Select a file") : mCaption;
    34173417
    3418             QWidget *topParent = mParent ? mParent->window() : qApp->mainWidget();
     3418            QWidget *topParent = mParent ? mParent->window() : vboxGlobal().mainWindow();
    34193419            QString winFilters = winFilter (mFilters);
    34203420            AssertCompile (sizeof (TCHAR) == sizeof (QChar));
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