projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add a settingspage for configuring the input widget
[quassel.git]
/
src
/
uisupport
/
multilineedit.cpp
diff --git
a/src/uisupport/multilineedit.cpp
b/src/uisupport/multilineedit.cpp
index
77e2cc6
..
a79ef28
100644
(file)
--- a/
src/uisupport/multilineedit.cpp
+++ b/
src/uisupport/multilineedit.cpp
@@
-151,6
+151,14
@@
QSize MultiLineEdit::minimumSizeHint() const {
return sizeHint();
}
+void MultiLineEdit::enableSpellCheck(bool enable) {
+#ifdef HAVE_KDE
+ setCheckSpellingEnabled(enable);
+#else
+ Q_UNUSED(enable)
+#endif
+}
+
void MultiLineEdit::historyMoveBack() {
addToHistory(text(), true);