summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi92@disroot.org>2026-02-04 15:50:29 +0100
committerXavier Del Campo Romero <xavi92@disroot.org>2026-02-04 15:50:29 +0100
commit54a15c7e727fb6064b651b57761382b6dd7b3bf8 (patch)
tree2fccd91f1745418622e7f1d83636ee5c08b27238
parent6b8b3925b02c5bf2d5387c366f3b1bd1f6d22d0f (diff)
yc.cpp: Default-initialize selectedHEADmaster
-rw-r--r--yc.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/yc.cpp b/yc.cpp
index 783b63e..01d5cf8 100644
--- a/yc.cpp
+++ b/yc.cpp
@@ -226,6 +226,7 @@ Yc::~Yc()
}
Yc::Yc(QObject *parent) :
- QObject(parent)
+ QObject(parent),
+ selected(nullptr)
{
}