summaryrefslogtreecommitdiffstats
path: root/kcachegrind
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-03 18:10:36 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-03 18:10:36 +0000
commita2293395d6cf67e50a737c65bc8e49f230d48d9a (patch)
tree3902985da9551c4d7703d0f2bf1991de167f58bf /kcachegrind
parent9e53911e5aace7c2e151acf19324cc35d7ee4957 (diff)
downloadtdesdk-a2293395d6cf67e50a737c65bc8e49f230d48d9a.tar.gz
tdesdk-a2293395d6cf67e50a737c65bc8e49f230d48d9a.zip
Fix instances of Orientation in quotes which were accidentally renamed to Qt::Orientation during TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1244690 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kcachegrind')
-rw-r--r--kcachegrind/kcachegrind/multiview.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kcachegrind/kcachegrind/multiview.cpp b/kcachegrind/kcachegrind/multiview.cpp
index 014276df..4fb7eace 100644
--- a/kcachegrind/kcachegrind/multiview.cpp
+++ b/kcachegrind/kcachegrind/multiview.cpp
@@ -176,7 +176,7 @@ void MultiView::readViewConfig(KConfig* c,
KConfigGroup* g = configGroup(c, prefix, postfix);
int n = g->readNumEntry("Panels", 1);
setChildCount(n);
- setOrientation( (g->readEntry("Qt::Orientation") == TQString("Horizontal")) ?
+ setOrientation( (g->readEntry("Orientation") == TQString("Horizontal")) ?
Qt::Horizontal : Qt::Vertical );
setSizes(g->readIntListEntry("PanelSizes"));
@@ -207,7 +207,7 @@ void MultiView::saveViewConfig(KConfig* c,
KConfigGroup g(c, (prefix+postfix).ascii());
g.writeEntry("Panels", childCount());
- g.writeEntry("Qt::Orientation",
+ g.writeEntry("Orientation",
(orientation() == Qt::Horizontal) ?
"Horizontal" : "Vertical");