author | zautrix <zautrix> | 2005-03-03 13:42:15 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-03-03 13:42:15 (UTC) |
commit | 91feaad38e5f81063fa496a4e2988aa791267fd1 (patch) (side-by-side diff) | |
tree | fc408221a6b1a664f3574657a336526726aa9ccc /pwmanager/pwmanager/commentbox.cpp | |
parent | 806a806422872b6f31183267c6b084d425458902 (diff) | |
download | kdepimpi-91feaad38e5f81063fa496a4e2988aa791267fd1.zip kdepimpi-91feaad38e5f81063fa496a4e2988aa791267fd1.tar.gz kdepimpi-91feaad38e5f81063fa496a4e2988aa791267fd1.tar.bz2 |
more pw fixes
Diffstat (limited to 'pwmanager/pwmanager/commentbox.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | pwmanager/pwmanager/commentbox.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pwmanager/pwmanager/commentbox.cpp b/pwmanager/pwmanager/commentbox.cpp index 51f88b2..5416856 100644 --- a/pwmanager/pwmanager/commentbox.cpp +++ b/pwmanager/pwmanager/commentbox.cpp @@ -229,10 +229,10 @@ QSize CommentBox::size() #else CommentBox::CommentBox(QWidget *_parentWidget) - : QMultiLineEdit(_parentWidget) + : QTextBrowser(_parentWidget) { - this->setReadOnly(true); + //this->setReadOnly(true); setFocusPolicy( QWidget::ClickFocus ); } @@ -248,9 +248,9 @@ void CommentBox::clear() void CommentBox::setText(const QString &text) { - QMultiLineEdit::setText( text); - if (!this->isVisible()) - this->show(); + QTextBrowser::setText( text); + if (!isVisible()) + show(); } bool CommentBox::getText(QString *text) |