diff options
Diffstat (limited to 'src/modules/popupeditor/popupeditor.cpp')
| -rw-r--r-- | src/modules/popupeditor/popupeditor.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/modules/popupeditor/popupeditor.cpp b/src/modules/popupeditor/popupeditor.cpp index 06478ff3e..fbf27a931 100644 --- a/src/modules/popupeditor/popupeditor.cpp +++ b/src/modules/popupeditor/popupeditor.cpp @@ -202,8 +202,11 @@ KviSinglePopupEditor::KviSinglePopupEditor(QWidget * par) m_pMenuButton = new QPushButton(__tr2qs("Test"),this); g->addWidget(m_pMenuButton,0,2); connect(m_pMenuButton,SIGNAL(clicked()),this,SLOT(testPopup())); - +#ifdef COMPILE_USE_QT4 + QSplitter * spl = new QSplitter(Qt::Vertical,this,"popupeditor"); +#else QSplitter * spl = new QSplitter(QSplitter::Vertical,this); +#endif m_pListView = new KviTalListView(spl); m_pListView->addColumn(__tr2qs("Item")); @@ -1024,8 +1027,11 @@ KviPopupEditor::KviPopupEditor(QWidget * par) : QWidget(par) { QGridLayout * l = new QGridLayout(this,1,1,0,2); - +#ifdef COMPILE_USE_QT4 + QSplitter * spl = new QSplitter(Qt::Horizontal,this,"popupeditor"); +#else QSplitter * spl = new QSplitter(QSplitter::Horizontal,this); +#endif l->addWidget(spl,0,0); KviTalVBox * box = new KviTalVBox(spl); |
