From 45350210ccee9a7ec9427e48ce33a476ef8f7760 Mon Sep 17 00:00:00 2001 From: AramJonghu Date: Tue, 30 Jun 2026 04:49:55 +0200 Subject: [PATCH] fix&revert(qalculator): unassigned this to calculator pointer fixed, revert of succesful test --- Plugins/ZShell/qalculator.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Plugins/ZShell/qalculator.cpp b/Plugins/ZShell/qalculator.cpp index dfe4310..7549445 100644 --- a/Plugins/ZShell/qalculator.cpp +++ b/Plugins/ZShell/qalculator.cpp @@ -5,9 +5,8 @@ namespace ZShell { Qalculator::Qalculator(QObject* parent) : QObject(parent) { - int x; if (!CALCULATOR) { - new Calculator(); + calculator = new Calculator(); CALCULATOR->loadExchangeRates(); CALCULATOR->loadGlobalDefinitions(); CALCULATOR->loadLocalDefinitions();