diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 19:58:03 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 19:58:03 +0000 |
commit | 598cf55c6eb7cbae4df369ba3260258c15541810 (patch) | |
tree | b09c6950e434b5f72ad7c213f99da6595bd89209 /kcalc/knumber | |
parent | 36ec355dd1df80f3270e1946d8c1a1c9d1c25e1e (diff) | |
download | tdeutils-598cf55c6eb7cbae4df369ba3260258c15541810.tar.gz tdeutils-598cf55c6eb7cbae4df369ba3260258c15541810.zip |
Fix kdeutils Qt4 FTBFS
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1238346 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kcalc/knumber')
-rw-r--r-- | kcalc/knumber/configure.in.in | 2 | ||||
-rw-r--r-- | kcalc/knumber/knumber_priv.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/kcalc/knumber/configure.in.in b/kcalc/knumber/configure.in.in index 8ef670b..224e91b 100644 --- a/kcalc/knumber/configure.in.in +++ b/kcalc/knumber/configure.in.in @@ -53,7 +53,7 @@ KDE_CHECK_HEADER([gmp.h], [ AC_LANG_CPLUSPLUS kde_save_LIBS=$LIBS - LIBS="$all_libraries -lgmp" + LIBS="$all_libraries -lgmp -ltqt" AC_TRY_LINK(dnl [ #include <gmp.h> diff --git a/kcalc/knumber/knumber_priv.cpp b/kcalc/knumber/knumber_priv.cpp index 8f69a5d..419293b 100644 --- a/kcalc/knumber/knumber_priv.cpp +++ b/kcalc/knumber/knumber_priv.cpp @@ -222,7 +222,7 @@ TQString const _knumfloat::ascii(int prec) const TQString ret_str; char *tmp_ptr; if (prec > 0) - gmp_asprintf(&tmp_ptr, ("%." + TQString().setNum(prec) + "Fg").ascii(), _mpf); + gmp_asprintf(&tmp_ptr, ("%." + TQString(TQString().setNum(prec) + "Fg")).ascii(), _mpf); else gmp_asprintf(&tmp_ptr, "%Fg", _mpf); |