[SCM] dvbcut/master: Get rid of file: prefix in the index filename With qt4, the file: prefix appears in the file dialogbox. this patch get rid of this useless prefix
fabricesp-guest at users.alioth.debian.org
fabricesp-guest at users.alioth.debian.org
Sun Jan 15 16:39:49 UTC 2012
The following commit has been merged in the master branch:
commit b3d10f17773f020e4ff327c2ecbe20566b285127
Author: Fabrice Coutadeur <coutadeurf at gmail.com>
Date: Sun Jan 15 12:19:24 2012 +0100
Get rid of file: prefix in the index filename
With qt4, the file: prefix appears in the file dialogbox. this patch get rid of this useless prefix
diff --git a/debian/patches/port-to-qt4.patch b/debian/patches/port-to-qt4.patch
index 08efed8..c60bf1d 100644
--- a/debian/patches/port-to-qt4.patch
+++ b/debian/patches/port-to-qt4.patch
@@ -1200,16 +1200,18 @@ Raik
return;
}
-@@ -1859,7 +1867,7 @@ void dvbcut::open(std::list<std::string>
+@@ -1859,19 +1867,19 @@ void dvbcut::open(std::list<std::string>
*/
QUrl u;
u.setProtocol(QString("file"));
- u.setPath(QString(idxfilename));
+ u.setPath(QString::fromStdString(idxfilename));
if (chdir((const char*)u.dirPath()) == -1) chdir("/");
- QString relname = QString("file:") + u.fileName();
+- QString relname = QString("file:") + u.fileName();
++ QString relname = u.fileName();
QString s=QFileDialog::getSaveFileName(
-@@ -1868,10 +1876,10 @@ void dvbcut::open(std::list<std::string>
+ relname,
+ settings().idxfilter,
this,
"Choose index file...",
"Choose the name of the index file" );
--
dvbcut packaging
More information about the pkg-multimedia-commits
mailing list