summaryrefslogtreecommitdiffstats
path: root/kmymoney2/widgets/kmymoneypriceview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/widgets/kmymoneypriceview.cpp')
-rw-r--r--kmymoney2/widgets/kmymoneypriceview.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kmymoney2/widgets/kmymoneypriceview.cpp b/kmymoney2/widgets/kmymoneypriceview.cpp
index f9c922c..e1dd25e 100644
--- a/kmymoney2/widgets/kmymoneypriceview.cpp
+++ b/kmymoney2/widgets/kmymoneypriceview.cpp
@@ -36,7 +36,7 @@
#include <kglobal.h>
#include <klistview.h>
#include <kiconloader.h>
-#include <kconfig.h>
+#include <tdeconfig.h>
#include <kmessagebox.h>
// ----------------------------------------------------------------------------
@@ -66,9 +66,9 @@ KMyMoneyPriceItem::KMyMoneyPriceItem(KListView *view, const MyMoneyPrice& pr) :
m_pr(pr)
{
MyMoneySecurity from, to;
- TDEConfig *kconfig = TDEGlobal::config();
- kconfig->setGroup("General Options");
- int prec = kconfig->readNumEntry("PricePrecision", 4);
+ TDEConfig *tdeconfig = TDEGlobal::config();
+ tdeconfig->setGroup("General Options");
+ int prec = tdeconfig->readNumEntry("PricePrecision", 4);
if(!m_pr.isValid())
m_pr = MyMoneyFile::instance()->price(m_pr.from(), m_pr.to(), m_pr.date());