Run clang-format-all.sh

This commit is contained in:
Rasmus Karlsson
2018-07-03 15:19:49 +00:00
parent b73f65fa20
commit e757a6504b
12 changed files with 55 additions and 52 deletions
+2 -2
View File
@@ -238,8 +238,8 @@ void NotebookTab::paintEvent(QPaintEvent *)
// || SettingsDialog::getHandle() == QApplication::activeWindow();
QBrush tabBackground = /*this->mouseOver_ ? colors.backgrounds.hover
:*/ (windowFocused ? colors.backgrounds.regular
: colors.backgrounds.unfocused);
:*/
(windowFocused ? colors.backgrounds.regular : colors.backgrounds.unfocused);
// painter.fillRect(rect(), this->mouseOver_ ? regular.backgrounds.hover
// : (windowFocused ? regular.backgrounds.regular
+1 -2
View File
@@ -93,8 +93,7 @@ void ResizingTextEdit::keyPressEvent(QKeyEvent *event)
return;
}
auto *completionModel =
static_cast<CompletionModel *>(this->completer->model());
auto *completionModel = static_cast<CompletionModel *>(this->completer->model());
if (!this->completionInProgress) {
// First type pressing tab after modifying a message, we refresh our completion model