You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
933 B
31 lines
933 B
From 599b36eddd2ae4d8d2967255c503a680002dabf7 Mon Sep 17 00:00:00 2001
|
|
From: Jonathan Thomas <echidnaman@kubuntu.org>
|
|
Date: Tue, 25 Oct 2011 17:28:38 -0400
|
|
Subject: [PATCH 17/20] Of course, we can only set KCrash flags after
|
|
KCmdLineArgs::init() has been called
|
|
|
|
---
|
|
main.cpp | 4 ++--
|
|
1 files changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/main.cpp b/main.cpp
|
|
index 2fa928f..ab359b7 100644
|
|
--- a/main.cpp
|
|
+++ b/main.cpp
|
|
@@ -33,10 +33,10 @@ int main(int argc, char *argv[])
|
|
aboutData.addAuthor(ki18n("Jaroslav Reznik"), ki18n("Maintainer"), "jreznik@redhat.com");
|
|
aboutData.setProductName("policykit-kde/polkit-kde-authentication-agent-1");
|
|
|
|
- KCrash::setFlags(KCrash::AutoRestart);
|
|
-
|
|
KCmdLineArgs::init(argc, argv, &aboutData);
|
|
|
|
+ KCrash::setFlags(KCrash::AutoRestart);
|
|
+
|
|
if (!PolicyKitKDE::start()) {
|
|
qWarning("PolicyKitKDE is already running!\n");
|
|
return 0;
|
|
--
|
|
1.7.7.4
|
|
|