diff options
Diffstat (limited to 'kommander/widgets/richtexteditor.cpp')
-rw-r--r-- | kommander/widgets/richtexteditor.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kommander/widgets/richtexteditor.cpp b/kommander/widgets/richtexteditor.cpp index 1faa12b4..daafcdab 100644 --- a/kommander/widgets/richtexteditor.cpp +++ b/kommander/widgets/richtexteditor.cpp @@ -61,11 +61,11 @@ RichTextEditor::RichTextEditor(TQWidget *a_parent, const char *a_name) m_textedit = new TQTextEdit(this, "editor"); m_textedit->setTextFormat(RichText); - // tqlayout the widgets - TQVBoxLayout *tqlayout = new TQVBoxLayout(this); - tqlayout->addWidget(m_toolbar); - tqlayout->addWidget(m_textedit); - tqlayout->setSpacing(1); + // layout the widgets + TQVBoxLayout *layout = new TQVBoxLayout(this); + layout->addWidget(m_toolbar); + layout->addWidget(m_textedit); + layout->setSpacing(1); // setup buttons TQHBoxLayout *tbLayout = new TQHBoxLayout(m_toolbar); |