Removed unused local vars. Slightly refactored code.

This commit is contained in:
23rd
2019-05-04 20:39:58 +03:00
committed by pajlada
parent 2d21bb0695
commit efec76df5b
10 changed files with 4 additions and 36 deletions
-4
View File
@@ -29,8 +29,6 @@ NotebookTab::NotebookTab(Notebook *notebook)
, notebook_(notebook)
, menu_(this)
{
auto app = getApp();
this->setAcceptDrops(true);
this->positionChangedAnimation_.setEasingCurve(
@@ -527,8 +525,6 @@ void NotebookTab::dragEnterEvent(QDragEnterEvent *event)
void NotebookTab::mouseMoveEvent(QMouseEvent *event)
{
auto app = getApp();
if (getSettings()->showTabCloseButton &&
this->notebook_->getAllowUserTabManagement()) //
{