diff options
| author | Joel Klinghed <the_jk@yahoo.com> | 2017-07-29 01:19:46 +0200 |
|---|---|---|
| committer | Joel Klinghed <the_jk@yahoo.com> | 2017-07-29 01:19:46 +0200 |
| commit | 4c7efd97af6ca1028279d40ebe674dc88bdaafc4 (patch) | |
| tree | e0a0b1fe70d81a0833c0f99710945673ce4ba285 /src/gui_qt.cc | |
| parent | a6fd1619d1187ae3554ebb443f90a4843e08674a (diff) | |
Cleanup file dialog filters and remove Monitor from app title
Diffstat (limited to 'src/gui_qt.cc')
| -rw-r--r-- | src/gui_qt.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui_qt.cc b/src/gui_qt.cc index 9ffdfc9..c47d8fc 100644 --- a/src/gui_qt.cc +++ b/src/gui_qt.cc @@ -370,6 +370,7 @@ QString show_file_dialog(QWidget* parent, std::string const& title, for (auto const& f : filters) { if (!filter.isEmpty()) filter.append(";;"); filter.append(QString::fromStdString(f.name)); + if (!f.name.empty() && f.name.back() == ')') continue; filter.append(" ("); bool first = true; for (auto const& mask : f.masks) { |
