aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/kdemultimedia4
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/kdemultimedia4')
-rw-r--r--multimedia/kdemultimedia4/files/patch-juk-filerenamer.cpp21
-rw-r--r--multimedia/kdemultimedia4/files/patch-juk-tageditor.cpp17
2 files changed, 38 insertions, 0 deletions
diff --git a/multimedia/kdemultimedia4/files/patch-juk-filerenamer.cpp b/multimedia/kdemultimedia4/files/patch-juk-filerenamer.cpp
new file mode 100644
index 000000000000..e36a51a1e7f8
--- /dev/null
+++ b/multimedia/kdemultimedia4/files/patch-juk-filerenamer.cpp
@@ -0,0 +1,21 @@
+Index: juk/filerenamer.cpp
+===================================================================
+RCS file: /home/kde/kdemultimedia/juk/filerenamer.cpp,v
+retrieving revision 1.23
+retrieving revision 1.23.2.2
+diff -u -3 -p -u -r1.23 -r1.23.2.2
+--- juk/filerenamer.cpp 2 Nov 2003 00:23:01 -0000 1.23
++++ juk/filerenamer.cpp 6 Jun 2004 13:47:57 -0000 1.23.2.2
+@@ -138,8 +138,11 @@ QString FileRenamer::expandToken(TokenTy
+ value.replace(QDir::separator(), "");
+ }
+
++ if((type == Track) && needValue && (value.toUInt() == 0))
++ return QString::null;
++
+ if((needValue) && value.isEmpty())
+- return QString();
++ return QString::null;
+
+ token.replace("%s", value);
+ return token;
diff --git a/multimedia/kdemultimedia4/files/patch-juk-tageditor.cpp b/multimedia/kdemultimedia4/files/patch-juk-tageditor.cpp
new file mode 100644
index 000000000000..2d123ffc1279
--- /dev/null
+++ b/multimedia/kdemultimedia4/files/patch-juk-tageditor.cpp
@@ -0,0 +1,17 @@
+Index: juk/tageditor.cpp
+===================================================================
+RCS file: /home/kde/kdemultimedia/juk/tageditor.cpp,v
+retrieving revision 1.44.2.4
+retrieving revision 1.44.2.5
+diff -u -3 -p -u -r1.44.2.4 -r1.44.2.5
+--- juk/tageditor.cpp 14 Apr 2004 22:31:08 -0000 1.44.2.4
++++ juk/tageditor.cpp 14 Jun 2004 11:18:37 -0000 1.44.2.5
+@@ -50,7 +50,7 @@ public:
+
+ virtual State validate(QString &s, int &) const
+ {
+- if(s.find('/' != -1))
++ if(s.find('/') != -1)
+ return Invalid;
+ return Acceptable;
+ }