reformat
This commit is contained in:
@@ -562,9 +562,8 @@ void NotebookTab::wheelEvent(QWheelEvent *event)
|
||||
const auto defaultMouseDelta = 120;
|
||||
const auto delta = event->delta();
|
||||
const auto selectTab = [this](int delta) {
|
||||
delta > 0
|
||||
? this->notebook_->selectPreviousTab()
|
||||
: this->notebook_->selectNextTab();
|
||||
delta > 0 ? this->notebook_->selectPreviousTab()
|
||||
: this->notebook_->selectNextTab();
|
||||
};
|
||||
// If it's true
|
||||
// Then the user uses the trackpad or perhaps the most accurate mouse
|
||||
|
||||
Reference in New Issue
Block a user