summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaromír Mikeš <mira.mikes@seznam.cz>2015-06-15 12:39:10 (GMT)
committerJaromír Mikeš <mira.mikes@seznam.cz>2015-06-15 12:39:10 (GMT)
commitaac8ba9c145f977cb4ff03fd1c823435f441cec9 (patch)
tree5c408424975b29150be463b02e6b043c8a63a3fc
parentb54cf93954c6e4e846de4c68b621e896b626e8c3 (diff)
Add patch from Ubuntu to fix loading config files.
-rw-r--r--debian/patches/02-Fix_loading_config_file.patch19
-rw-r--r--debian/patches/series1
2 files changed, 20 insertions, 0 deletions
diff --git a/debian/patches/02-Fix_loading_config_file.patch b/debian/patches/02-Fix_loading_config_file.patch
new file mode 100644
index 0000000..5be813f
--- /dev/null
+++ b/debian/patches/02-Fix_loading_config_file.patch
@@ -0,0 +1,19 @@
+Description: Fix loading config files
+Taken from ubuntu:
+https://bugs.launchpad.net/ubuntu/+source/qmidiroute/+bug/1455920
+https://launchpadlibrarian.net/206733370/7_6.diff
+Author: Jaromír Mikeš <mira.mikes@seznam.cz>
+Forwarded: No
+
+Index: qmidiroute/src/mapwidget.cpp
+===================================================================
+--- qmidiroute.orig/src/mapwidget.cpp
++++ qmidiroute/src/mapwidget.cpp
+@@ -523,6 +523,7 @@ void MapWidget::readMap(QTextStream& map
+ updateChOutMode(qs2.toInt());
+ qs2 = qs.section(' ', 1, 1);
+ indexOutMode->setCurrentIndex(qs2.toInt());
++ updateIndexOutMode(qs2.toInt());
+ qs = mapText.readLine();
+ qs2 = qs.section(' ', 0, 0);
+ portOut->setValue(qs2.toInt() + 1);
diff --git a/debian/patches/series b/debian/patches/series
index 8a8dc6c..73e9289 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
01-manpage_fix.patch
+02-Fix_loading_config_file.patch