diff options
author | Eric Hameleers <alien@slackware.com> | 2020-07-31 16:13:18 +0200 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2020-07-31 16:13:18 +0200 |
commit | 703149752c6265b36973d2c1f0f5a69721e3128a (patch) | |
tree | 7ded0d801771d5705f48ffbfb48f37dd4829439e /kde/patch/kate/kate-15.12.0.patch | |
parent | dd005500c624d127321ff3fe14a0c29bfa8d67f7 (diff) | |
parent | cd7ff1719433fbb3b6a8304596be173bc1b91b00 (diff) | |
download | ktown-master.tar.gz ktown-master.tar.xz |
Diffstat (limited to 'kde/patch/kate/kate-15.12.0.patch')
-rw-r--r-- | kde/patch/kate/kate-15.12.0.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/kde/patch/kate/kate-15.12.0.patch b/kde/patch/kate/kate-15.12.0.patch deleted file mode 100644 index 25067f4..0000000 --- a/kde/patch/kate/kate-15.12.0.patch +++ /dev/null @@ -1,31 +0,0 @@ -From: Michal Humpula <michal.humpula@hudrydum.cz> -Date: Sun, 29 Nov 2015 10:24:42 +0000 -Subject: fix opening new files trough dbus -X-Git-Url: http://quickgit.kde.org/?p=kate.git&a=commitdiff&h=d61b121264d7b43d41c1c6417a18bbfb9078eb9d ---- -fix opening new files trough dbus - -REVIEW: 126197 ---- - - ---- a/urlinfo.h -+++ b/urlinfo.h -@@ -33,7 +33,7 @@ - : cursor(KTextEditor::Cursor::invalid()) - { - // convert to an url -- const QRegularExpression withProtocol(QStringLiteral("^[a-zA-Z]+:")); // TODO: remove after Qt supports this on its own -+ const QRegularExpression withProtocol(QStringLiteral("^[a-zA-Z]+://")); // TODO: remove after Qt supports this on its own - if (withProtocol.match(path).hasMatch()) { - url = QUrl::fromUserInput(path); - } else { -@@ -50,7 +50,7 @@ - int line = match.captured(1).toInt() - 1; - // don't use an invalid column when the line is valid - int column = qMax(0, match.captured(2).toInt() - 1); -- url = QUrl::fromLocalFile(path); -+ url = QUrl::fromLocalFile(QDir::current().absoluteFilePath(path)); - cursor = {line, column}; - } - } |