[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [calligra/kexi-frameworks7-staniek] kexi/widget: Kexi: Prettify the text editor by removing extra fr
From: Jaroslaw Staniek <staniek () kde ! org>
Date: 2015-06-30 20:24:29
Message-ID: E1ZA24z-0006Ps-JY () scm ! kde ! org
[Download RAW message or body]
Git commit 46e6c01e8d330a37e2217f500981d1a33ba1c911 by Jaroslaw Staniek.
Committed on 30/06/2015 at 20:16.
Pushed by staniek into branch 'kexi-frameworks7-staniek'.
Kexi: Prettify the text editor by removing extra frame
(for now it's used in Script and SQL views)
M +2 -2 kexi/widget/kexieditor.cpp
http://commits.kde.org/calligra/46e6c01e8d330a37e2217f500981d1a33ba1c911
diff --git a/kexi/widget/kexieditor.cpp b/kexi/widget/kexieditor.cpp
index fc461f0..5dc729f 100644
--- a/kexi/widget/kexieditor.cpp
+++ b/kexi/widget/kexieditor.cpp
@@ -91,9 +91,9 @@ KexiEditor::KexiEditor(QWidget *parent)
d->view->setFont(f);
d->view->setCheckSpellingEnabled(false);
#else
- KexiUtils::KTextEditorFrame *fr = new KexiUtils::KTextEditorFrame(this);
+ QWidget *fr = new QWidget(this);
QVBoxLayout *layout = new QVBoxLayout(fr);
- layout->setContentsMargins(2, 2, 2, 2);
+ layout->setContentsMargins(0, 0, 0, 0);
KTextEditor::Editor *editor = KTextEditor::Editor::instance();
if (!editor)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic