summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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");