  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)

     if (hlFilenamesListing.isEmpty()) {
         return 1;
     }
@@ -127,7 +124,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]));

         return 7;
 
-- 
2.5.2

