-rw-r--r-- | kaddressbook/kabcore.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kaddressbook/kabcore.cpp b/kaddressbook/kabcore.cpp index 68d3d2d..8d08713 100644 --- a/kaddressbook/kabcore.cpp +++ b/kaddressbook/kabcore.cpp | |||
@@ -1179,13 +1179,13 @@ void KABCore::initGUI() | |||
1179 | if ( QApplication::desktop()->width() > 480 ) { | 1179 | if ( QApplication::desktop()->width() > 480 ) { |
1180 | topLayout = new QHBoxLayout( this ); | 1180 | topLayout = new QHBoxLayout( this ); |
1181 | mMiniSplitter = new KDGanttMinimizeSplitter( Qt::Horizontal, this); | 1181 | mMiniSplitter = new KDGanttMinimizeSplitter( Qt::Horizontal, this); |
1182 | mMiniSplitter->setMinimizeDirection ( KDGanttMinimizeSplitter::Right ); | 1182 | mMiniSplitter->setMinimizeDirection ( KDGanttMinimizeSplitter::Right ); |
1183 | } else { | 1183 | } else { |
1184 | 1184 | ||
1185 | topLayout = new QVBoxLayout( this ); | 1185 | topLayout = new QHBoxLayout( this ); |
1186 | mMiniSplitter = new KDGanttMinimizeSplitter( Qt::Vertical, this); | 1186 | mMiniSplitter = new KDGanttMinimizeSplitter( Qt::Vertical, this); |
1187 | mMiniSplitter->setMinimizeDirection ( KDGanttMinimizeSplitter::Down ); | 1187 | mMiniSplitter->setMinimizeDirection ( KDGanttMinimizeSplitter::Down ); |
1188 | } | 1188 | } |
1189 | 1189 | ||
1190 | topLayout->addWidget(mMiniSplitter ); | 1190 | topLayout->addWidget(mMiniSplitter ); |
1191 | mViewManager = new ViewManager( this, mMiniSplitter ); | 1191 | mViewManager = new ViewManager( this, mMiniSplitter ); |