projects
/
quassel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
3c9e07c
)
fix denying a large paste
author
Henning Rohlfs
<quassel@xehonk.de>
Sat, 16 May 2009 11:32:10 +0000
(13:32 +0200)
committer
Manuel Nickschas
<sputnick@quassel-irc.org>
Sat, 16 May 2009 11:58:44 +0000
(13:58 +0200)
src/uisupport/inputline.cpp
patch
|
blob
|
history
diff --git
a/src/uisupport/inputline.cpp
b/src/uisupport/inputline.cpp
index
94dc5e9
..
501ee60
100644
(file)
--- a/
src/uisupport/inputline.cpp
+++ b/
src/uisupport/inputline.cpp
@@
-222,8
+222,10
@@
void InputLine::on_textChanged(QString newText) {
#ifdef Q_WS_MAC
question.setWindowFlags(question.windowFlags() | Qt::Sheet); // Qt::Sheet is not ignored on other platforms as it should :/
#endif
- if(question.exec() == QMessageBox::No)
+ if(question.exec() == QMessageBox::No) {
+ clear();
return;
+ }
}
foreach(QString line, lines) {