Browse Source

Merge pull request #8003 from Chocobo1/fileicon

Use standard folder icon for open file behavior on Windows
adaptive-webui-19844
sledgehammer999 7 years ago committed by GitHub
parent
commit
8494c6c5d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/gui/fspathedit.cpp

4
src/gui/fspathedit.cpp

@ -154,7 +154,9 @@ void FileSystemPathEdit::FileSystemPathEditPrivate::modeChanged() @@ -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:

Loading…
Cancel
Save