VirtualBox

Changeset 79249 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jun 19, 2019 5:58:40 PM (6 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:6143. Avoiding an empty file name warning.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/softkeyboard/UISoftKeyboard.cpp

    r79248 r79249  
    16761676    QDir fileToDelete;
    16771677    QString strFilePath(m_pCurrentKeyboardLayout->sourceFilePath());
    1678     bool fFileExists = fileToDelete.exists(strFilePath);
     1678    bool fFileExists = false;
     1679    if (!strFilePath.isEmpty())
     1680        fFileExists = fileToDelete.exists(strFilePath);
    16791681
    16801682    if (fFileExists)
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