changeset 8396 | 5123eac2f9d6 |
parent 8395 | 0b357c57e01c |
child 8430 | 5a5c34a75e1a |
--- a/QTfrontend/ui/widget/chatwidget.cpp Thu Jan 17 18:12:30 2013 +0100 +++ b/QTfrontend/ui/widget/chatwidget.cpp Thu Jan 17 23:17:39 2013 +0400 @@ -798,11 +798,7 @@ else if (tline == "/saveStyleSheet") saveStyleSheet(); else - { - static QRegExp post("\\s.*$"); - tline.remove(post); - displayWarning(tr("%1 is not a valid command!").arg(tline)); - } + emit consoleCommand(tline.mid(1)); return true; }