-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[browser] Fix tiny folder icons on hidpi screens
QStyle::standardPixmap is deprecated and not hi-dpi friendly. Unfortunately, there's no equivalent of QIcon::addPixmap for QIcons themselves -- so it's **impossible** in current Qt API to handle the ON/OFF icon states. Believe me... there's NOOOOOOO way. I've looked. I've tried. It's not possible. This means we have to change the logic for showing open/closed folders in browser. This commit revises the logic to show the open icon for any *populated* folders, regardless of whether they are opened or not.
- Loading branch information
1 parent
3032af2
commit d50ccff
Showing
3 changed files
with
41 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters