fix: remove some unused variables (#6748)
This commit is contained in:
@@ -89,6 +89,7 @@
|
||||
- Dev: Refactored types used for emoji parsing. (#6714)
|
||||
- Dev: `LinkParser` now parses `QStringView`s. (#6715)
|
||||
- Dev: Cleaned up `AccountController` connections. (#6735)
|
||||
- Dev: Removed unused variables. (#6748)
|
||||
|
||||
## 2.5.4
|
||||
|
||||
|
||||
@@ -287,9 +287,8 @@ EditUserNotesDialog::EditUserNotesDialog(QWidget *parent)
|
||||
|
||||
headerLayout->addSpacing(175); // group markdown toolbar buttons
|
||||
|
||||
auto previewCheckBox =
|
||||
headerLayout.emplace<QCheckBox>("Show Markdown Preview")
|
||||
.assign(&this->previewCheckBox_);
|
||||
headerLayout.emplace<QCheckBox>("Show Markdown Preview")
|
||||
.assign(&this->previewCheckBox_);
|
||||
|
||||
auto splitter =
|
||||
layout.emplace<QSplitter>(Qt::Horizontal).assign(&this->splitter_);
|
||||
|
||||
@@ -130,7 +130,6 @@ NotebookTab::NotebookTab(Notebook *notebook)
|
||||
|
||||
this->closeMultipleTabsMenu_ = new QMenu("Close Multiple Tabs", this);
|
||||
|
||||
const auto tabDirection = getSettings()->tabDirection.getEnum();
|
||||
this->menu_.addMenu(this->closeMultipleTabsMenu_);
|
||||
getSettings()->tabDirection.connect(
|
||||
[this](int val) {
|
||||
|
||||
Reference in New Issue
Block a user