use icon for select base dir

Windows does not have an icon theme.
This commit is contained in:
2022-08-23 20:15:43 +02:00
parent 536d6aff08
commit e1104916d6
3 changed files with 13 additions and 1 deletions

View File

@@ -30,7 +30,7 @@ class FilesBrowserWidget(Tab):
self._base_dir = QLineEdit(self._initialFolder())
self._base_dir.textChanged.connect(self._base_dir_changed)
btn_select_base_dir = QPushButton(QIcon.fromTheme("folder"), "")
btn_select_base_dir = QPushButton(QIcon("icons/ionicons/folder-open.svg"), "")
btn_select_base_dir.pressed.connect(self._select_base_dir)
btn_base_dir_for_current_file = QPushButton(QIcon("icons/myicons/target.svg"), "")