OSDN Git Service
(root)
/
alterlinux
/
alterlinux-calamares.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ac518d
)
[libcalamares] Print a big fat warning before a typical now-crash situation
author
Adriaan de Groot
<groot@kde.org>
Tue, 18 Aug 2020 15:17:29 +0000
(17:17 +0200)
committer
Adriaan de Groot
<groot@kde.org>
Tue, 18 Aug 2020 15:17:29 +0000
(17:17 +0200)
src/libcalamares/JobQueue.cpp
patch
|
blob
|
history
diff --git
a/src/libcalamares/JobQueue.cpp
b/src/libcalamares/JobQueue.cpp
index
bc3028a
..
e6e4668
100644
(file)
--- a/
src/libcalamares/JobQueue.cpp
+++ b/
src/libcalamares/JobQueue.cpp
@@
-156,6
+156,10
@@
JobQueue* JobQueue::s_instance = nullptr;
JobQueue*
JobQueue::instance()
{
+ if ( !s_instance )
+ {
+ cWarning() << "Getting nullptr JobQueue instance.";
+ }
return s_instance;
}