/[gentoo-x86]/sci-mathematics/qtoctave/files/qtoctave-0.10.1-filedialog-filters.patch
Gentoo

Contents of /sci-mathematics/qtoctave/files/qtoctave-0.10.1-filedialog-filters.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download) (as text)
Tue Jul 16 22:42:44 2013 UTC (6 years, 8 months ago) by bicatali
Branch: MAIN
CVS Tags: HEAD
File MIME type: text/x-diff
Import patches from Debian (upstream stalled). Fixed Qt dependencies (bug #477008, thanks Patrick Lauer), switch to EAPI5

(Portage version: 2.2.01.22124-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)

1 Description: Fix *.m filename filters in file dialogs
2 Not forwarded to upstream since upstream author stopped development.
3 Author: S├ębastien Villemot <sebastien@debian.org>
4 Bug-Debian: http://bugs.debian.org/620062
5 Forwarded: no
6 Last-Update: 2011-08-21
7 --- a/qtoctave/src/editor.cpp
8 +++ b/qtoctave/src/editor.cpp
9 @@ -295,7 +295,7 @@
10 {
11 QStringList filters;
12
13 - filters << "Octave (*.m; *.M)"
14 + filters << "Octave (*.m *.M)"
15 << "Plain text (*.txt)"
16 << "All files (*)";
17
18 @@ -475,7 +475,7 @@
19 QFileDialog openDialog(this, tr("Open") /*Qt::Dialog*/);
20
21 QStringList filters;
22 - filters << "Octave (*.m; *.M)"
23 + filters << "Octave (*.m *.M)"
24 << "Plain text (*.txt)"
25 << "All files (*)";
26
27 --- a/qtoctave/src/main.cpp
28 +++ b/qtoctave/src/main.cpp
29 @@ -308,7 +308,7 @@
30 QFileDialog openDialog(NULL, tr("Open"), ".");
31 QStringList filters;
32
33 - filters << "Octave (*.m; *.M)";
34 + filters << "Octave (*.m *.M)";
35
36 openDialog.setFilters(filters);
37 openDialog.setAcceptMode(QFileDialog::AcceptOpen);

  ViewVC Help
Powered by ViewVC 1.1.20