refactor/reformat. remove useless common.h

This commit is contained in:
Rasmus Karlsson
2017-06-07 10:09:24 +02:00
parent b66dc479e6
commit 5b2b2e3e19
76 changed files with 148 additions and 264 deletions
+4 -3
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 c = _chatWidget->getChannel();
if (c == nullptr) {
@@ -137,5 +137,6 @@ void ChatWidgetInput::resizeEvent(QResizeEvent *)
_edit.setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
}
}
}
}
} // namespace widgets
} // namespace chatterino