summaryrefslogtreecommitdiffstats
path: root/kexi/formeditor/richtextdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/formeditor/richtextdialog.cpp')
-rw-r--r--kexi/formeditor/richtextdialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kexi/formeditor/richtextdialog.cpp b/kexi/formeditor/richtextdialog.cpp
index e3b73975..a8605e7b 100644
--- a/kexi/formeditor/richtextdialog.cpp
+++ b/kexi/formeditor/richtextdialog.cpp
@@ -168,7 +168,7 @@ RichTextDialog::cursorPositionChanged(int, int)
m_toolbar->setButton(TBUnder, m_edit->underline());
int id = 0;
- switch(m_edit->tqalignment())
+ switch(m_edit->alignment())
{
case TQt::AlignLeft: id = TBLeft; break;
case TQt::AlignCenter: id = TBCenter; break;