Fix all warnings that we care about

This commit is contained in:
Rasmus Karlsson
2017-05-27 16:16:39 +02:00
parent 896cf7a03b
commit c4de5c806a
17 changed files with 95 additions and 104 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ ChatWidgetInput::ChatWidgetInput(ChatWidget *widget)
completer->setWidget(&_edit);
_edit.keyPressed.connect([this, completer](QKeyEvent *event) {
_edit.keyPressed.connect([this/*, completer*/](QKeyEvent *event) {
if (event->key() == Qt::Key_Enter || event->key() == Qt::Key_Return) {
auto ptr = _chatWidget->getChannel();
Channel *c = ptr.get();