aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Cullmann <cullmann@kde.org>2014-01-20 11:33:41 (GMT)
committerChristoph Cullmann <cullmann@kde.org>2014-01-20 11:33:41 (GMT)
commitb1ce76ef962b43263e002c1b3ffd84f4c0118c45 (patch)
treeb5d02fad8dfbc9c6e695773cbbb31ec7ec1b4596
parent24cc5954bb105e0f6c5a4d8cdf5e10a8fe6a011b (diff)
more ported
-rw-r--r--addons/kate/katesql/connectionwizard.cpp1
-rw-r--r--addons/kate/katesql/schemabrowserwidget.cpp5
2 files changed, 4 insertions, 2 deletions
diff --git a/addons/kate/katesql/connectionwizard.cpp b/addons/kate/katesql/connectionwizard.cpp
index 4860496..f7a18c0 100644
--- a/addons/kate/katesql/connectionwizard.cpp
+++ b/addons/kate/katesql/connectionwizard.cpp
@@ -24,7 +24,6 @@
#include <kmessagebox.h>
#include <klineedit.h>
#include <kurlrequester.h>
-#include <knuminput.h>
#include <qformlayout.h>
#include <qsqldatabase.h>
diff --git a/addons/kate/katesql/schemabrowserwidget.cpp b/addons/kate/katesql/schemabrowserwidget.cpp
index 36cf763..f03e5a8 100644
--- a/addons/kate/katesql/schemabrowserwidget.cpp
+++ b/addons/kate/katesql/schemabrowserwidget.cpp
@@ -20,11 +20,14 @@
#include "schemawidget.h"
#include <qtreeview.h>
+#include <QVBoxLayout>
SchemaBrowserWidget::SchemaBrowserWidget(QWidget *parent, SQLManager *manager)
-: KVBox(parent)
+: QWidget (parent)
, m_schemaWidget(new SchemaWidget(this, manager))
{
+ QVBoxLayout *layout = new QVBoxLayout (this);
+ layout->addWidget (m_schemaWidget);
}
SchemaBrowserWidget::~SchemaBrowserWidget()