VirtualBox

Changeset 94687 in vbox


Ignore:
Timestamp:
Apr 22, 2022 10:43:58 AM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
151054
Message:

FE/Qt: Instantiating file picker wit parent QApplication::activeWindow(). On KDE the said file picker was not usable.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsStorage.cpp

    r94667 r94687  
    1717
    1818/* Qt includes: */
     19#include <QApplication>
    1920#include <QCheckBox>
    2021#include <QComboBox>
     
    40504051    const QString strMachineFolder(QFileInfo(m_strMachineSettingsFilePath).absolutePath());
    40514052
    4052     QUuid uMediumId = uiCommon().openMediumWithFileOpenDialog(m_pMediumIdHolder->type(), this, strMachineFolder);
     4053    QUuid uMediumId = uiCommon().openMediumWithFileOpenDialog(m_pMediumIdHolder->type(), QApplication::activeWindow(), strMachineFolder);
    40534054    if (uMediumId.isNull())
    40544055        return;
Note: See TracChangeset for help on using the changeset viewer.

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