[prev in list] [next in list] [prev in thread] [next in thread]
List: kwrite-devel
Subject: [PATCH] Fix kate -u not working
From: Albert Astals Cid <aacid () kde ! org>
Date: 2008-02-08 22:24:09
Message-ID: 200802082324.09869.aacid () kde ! org
[Download RAW message or body]
How to reproduce the bug:
Close all kate windows
kate -u foo.txt &
kate -u bar.txt
it does not open anything
The attached patch fixes the problem.
Ok to commit?
Albert
["useswitch" (text/x-diff)]
Index: katemain.cpp
===================================================================
--- katemain.cpp (revision 772481)
+++ katemain.cpp (working copy)
@@ -107,8 +107,6 @@
if ( (args->isSet("use")) || (::getenv("KATE_PID") != 0))
{
// inialize the dbus stuff...
- QCoreApplication *app = new QCoreApplication (argc, argv);
-
// bus interface
QDBusConnectionInterface *i = QDBusConnection::sessionBus().interface ();
@@ -244,8 +242,6 @@
return 0;
}
-
- delete app;
}
// construct the real kate app object ;)
_______________________________________________
KWrite-Devel mailing list
KWrite-Devel@kde.org
https://mail.kde.org/mailman/listinfo/kwrite-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic