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
v3.5.13-sru
tpearson 13 years ago
parent 9e53911e5a
commit a2293395d6

@ -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");

Loading…
Cancel
Save