diff options
author | Thomas Tuegel <ttuegel@gmail.com> | 2015-10-14 09:09:41 -0500 |
---|---|---|
committer | Thomas Tuegel <ttuegel@gmail.com> | 2015-10-30 16:10:37 -0500 |
commit | 895100ef91690e2b68c12a0d201c923fee08b441 (patch) | |
tree | 75abe5d290791670ba07aaf13adb5f1095f8980a /pkgs/development | |
parent | 4523689157ce616ea56952057281327b30aaa4bf (diff) | |
download | nixlib-895100ef91690e2b68c12a0d201c923fee08b441.tar nixlib-895100ef91690e2b68c12a0d201c923fee08b441.tar.gz nixlib-895100ef91690e2b68c12a0d201c923fee08b441.tar.bz2 nixlib-895100ef91690e2b68c12a0d201c923fee08b441.tar.lz nixlib-895100ef91690e2b68c12a0d201c923fee08b441.tar.xz nixlib-895100ef91690e2b68c12a0d201c923fee08b441.tar.zst nixlib-895100ef91690e2b68c12a0d201c923fee08b441.zip |
ktexteditor: update patches
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/libraries/kde-frameworks-5.15/ktexteditor/0001-no-qcoreapplication.patch | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/pkgs/development/libraries/kde-frameworks-5.15/ktexteditor/0001-no-qcoreapplication.patch b/pkgs/development/libraries/kde-frameworks-5.15/ktexteditor/0001-no-qcoreapplication.patch index c2e77a537c5a..def55bff9b23 100644 --- a/pkgs/development/libraries/kde-frameworks-5.15/ktexteditor/0001-no-qcoreapplication.patch +++ b/pkgs/development/libraries/kde-frameworks-5.15/ktexteditor/0001-no-qcoreapplication.patch @@ -1,6 +1,6 @@ -From 71e28c7c6fdd1142f04c662f45cc8f779e457cda Mon Sep 17 00:00:00 2001 +From dc50fffdc72b76498384ce2f9065c3757b786d71 Mon Sep 17 00:00:00 2001 From: Thomas Tuegel <ttuegel@gmail.com> -Date: Sun, 15 Feb 2015 19:09:17 -0600 +Date: Wed, 14 Oct 2015 09:08:59 -0500 Subject: [PATCH] no qcoreapplication --- @@ -8,16 +8,16 @@ Subject: [PATCH] no qcoreapplication 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/src/syntax/data/katehighlightingindexer.cpp b/src/syntax/data/katehighlightingindexer.cpp -index 3f02e8c..d1a865b 100644 +index 3c63140..e3d5efe 100644 --- a/src/syntax/data/katehighlightingindexer.cpp +++ b/src/syntax/data/katehighlightingindexer.cpp -@@ -49,19 +49,16 @@ QStringList readListing(const QString &fileName) +@@ -51,19 +51,16 @@ QStringList readListing(const QString &fileName) int main(int argc, char *argv[]) { - // get app instance - QCoreApplication app(argc, argv); -- +- // ensure enough arguments are passed - if (app.arguments().size() < 3) + if (argc < 3) @@ -34,9 +34,9 @@ index 3f02e8c..d1a865b 100644 if (hlFilenamesListing.isEmpty()) { return 1; } -@@ -127,7 +124,7 @@ int main(int argc, char *argv[]) +@@ -147,7 +144,7 @@ int main(int argc, char *argv[]) return anyError; - + // create outfile, after all has worked! - QFile outFile(app.arguments().at(1)); + QFile outFile(QString::fromLocal8Bit(argv[1])); @@ -44,5 +44,5 @@ index 3f02e8c..d1a865b 100644 return 7; -- -2.1.4 +2.5.2 |