From a2293395d6cf67e50a737c65bc8e49f230d48d9a Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 3 Aug 2011 18:10:36 +0000 Subject: 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 --- kcachegrind/kcachegrind/multiview.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kcachegrind') 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"); -- cgit v1.2.1