summaryrefslogtreecommitdiffstats
path: root/kcalc/kcalc_core.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-23 01:42:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-23 01:42:07 +0000
commita2277b6bc715464e83882b90c2a058139b8a6b54 (patch)
treeab09b14014f59b4d8e2ddd12226aa0b22e4dfc5d /kcalc/kcalc_core.cpp
parentd3f79e04b34bd1f70a458b81b28fc8799498c8dc (diff)
downloadtdeutils-a2277b6bc715464e83882b90c2a058139b8a6b54.tar.gz
tdeutils-a2277b6bc715464e83882b90c2a058139b8a6b54.zip
TQt4 port kdeutils
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1238125 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kcalc/kcalc_core.cpp')
-rw-r--r--kcalc/kcalc_core.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kcalc/kcalc_core.cpp b/kcalc/kcalc_core.cpp
index 4270895..89a2438 100644
--- a/kcalc/kcalc_core.cpp
+++ b/kcalc/kcalc_core.cpp
@@ -1,6 +1,6 @@
/*
kCalculator, a scientific calculator for the X window system using the
- Qt widget libraries, available at no cost at http://www.troll.no
+ TQt widget libraries, available at no cost at http://www.troll.no
The stack engine contained in this file was take from
Martin Bartlett's xfrmcalc
@@ -209,7 +209,7 @@ CalcEngine::CalcEngine()
struct sigaction fpe_trap;
- sigemptyset(&fpe_trap.sa_mask);
+ sigemptyset(&fpe_trap.sa_tqmask);
fpe_trap.sa_handler = &fpe_handler;
#ifdef SA_RESTART
fpe_trap.sa_flags = SA_RESTART;