mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-17 06:01:33 -06:00
Use standard folder icon for open file behavior on Windows. Closes #7880.
This commit is contained in:
committed by
sledgehammer999
parent
97cd430125
commit
3ed73244b1
@@ -154,7 +154,9 @@ void FileSystemPathEdit::FileSystemPathEditPrivate::modeChanged()
|
||||
switch (m_mode) {
|
||||
case FileSystemPathEdit::Mode::FileOpen:
|
||||
case FileSystemPathEdit::Mode::FileSave:
|
||||
pixmap = QStyle::SP_DialogOpenButton;
|
||||
#ifdef Q_OS_WIN
|
||||
pixmap = QStyle::SP_DirOpenIcon;
|
||||
#endif
|
||||
showDirsOnly = false;
|
||||
break;
|
||||
case FileSystemPathEdit::Mode::DirectoryOpen:
|
||||
|
||||
Reference in New Issue
Block a user