VirtualBox

Changeset 59816 in vbox for trunk


Ignore:
Timestamp:
Feb 25, 2016 2:38:22 PM (9 years ago)
Author:
vboxsync
Message:

FE/Qt: 7340: Runtime UI: Potential crash fix for r93191.

File:
1 edited

Legend:

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

    r59717 r59816  
    12541254        QIcon icon;
    12551255        foreach (const QString &strIconName, gEDataManager->machineWindowIconNames(strMachineID))
    1256             if (!strIconName.isEmpty())
     1256            if (!strIconName.isEmpty() && QFile::exists(strIconName))
    12571257                icon.addFile(strIconName);
    12581258        if (!icon.isNull())
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