VirtualBox

Changeset 67218 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Jun 1, 2017 5:14:44 PM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
115905
Message:

FE/Qt: Selector UI: Tools pane: Snapshot pane: Do not wipe out cached icons when clearing details-browser (s.a. r115904).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/selector/UISnapshotDetailsWidget.cpp

    r67217 r67218  
    384384
    385385        /* Clear the details report: */
    386         m_pBrowserDetails->clear();
     386        // WORKAROUND:
     387        // How stupid Qt *is* to wipe out registered icons not just on clear()
     388        // call but on setText(QString()) and even setText("") as well.
     389        // Nice way to oversmart itself..
     390        m_pBrowserDetails->setText("<empty>");
    387391    }
    388392}
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