parent
d01964b193
commit
67dadfd9e4
@ -1,16 +0,0 @@
|
|||||||
diff --git a/src/kcrash.cpp b/src/kcrash.cpp
|
|
||||||
--- a/src/kcrash.cpp
|
|
||||||
+++ b/src/kcrash.cpp
|
|
||||||
@@ -135,7 +135,10 @@
|
|
||||||
qCDebug(LOG_KCRASH) << "KCrash disabled through environment.";
|
|
||||||
}
|
|
||||||
|
|
||||||
- KCrash::setApplicationFilePath(QCoreApplication::applicationFilePath());
|
|
||||||
+ if (QCoreApplication::instance())
|
|
||||||
+ KCrash::setApplicationFilePath(QCoreApplication::applicationFilePath());
|
|
||||||
+ else
|
|
||||||
+ qWarning() << "This process needs a QCoreApplication instance in order to use KCrash";
|
|
||||||
|
|
||||||
s_coreConfig(); // Initialize.
|
|
||||||
}
|
|
||||||
|
|
@ -1 +1 @@
|
|||||||
SHA512 (kcrash-5.51.0.tar.xz) = 510dd18e26d0991ded9449db1d6a76df500b9b0d8c5d5b7ffe718fa84399b85f33b944caea9591d61de9e0413c9f472ee5b6079bda41c0314a81eb9ca2e7ad6c
|
SHA512 (kcrash-5.51.0.tar.xz) = 7945fca845f019f847fbef85de4934556da2183be5a2e48ae3dc0b71f1a0e5aa4e21a65ca9fcdbd7aab02aa36cb125b14768d34b7f3fd49f2666d3d8377d9356
|
||||||
|
Loading…
Reference in new issue