diff --git a/src/widgets/commentswidget.cpp b/src/widgets/commentswidget.cpp
index 1dd3e85e..b2b2ca4e 100644
--- a/src/widgets/commentswidget.cpp
+++ b/src/widgets/commentswidget.cpp
@@ -28,7 +28,6 @@ CommentsWidget::CommentsWidget(MainWindow *main, QWidget *parent) :
ui->frame->hide();
// Resize eventfilter
- this->installEventFilter(this);
ui->commentsTreeWidget->viewport()->installEventFilter(this);
}
diff --git a/src/widgets/commentswidget.h b/src/widgets/commentswidget.h
index 3af90b9a..28e8b6e8 100644
--- a/src/widgets/commentswidget.h
+++ b/src/widgets/commentswidget.h
@@ -36,7 +36,7 @@ private slots:
void on_actionVertical_triggered();
- bool eventFilter(QObject *obj, QEvent *event);
+ bool eventFilter(QObject *obj, QEvent *event) override;
private:
Ui::CommentsWidget *ui;
diff --git a/src/widgets/functionswidget.cpp b/src/widgets/functionswidget.cpp
index d6ef5738..2c54df96 100644
--- a/src/widgets/functionswidget.cpp
+++ b/src/widgets/functionswidget.cpp
@@ -39,7 +39,6 @@ FunctionsWidget::FunctionsWidget(MainWindow *main, QWidget *parent) :
this, SLOT(showTitleContextMenu(const QPoint &)));
// Resize eventfilter
- this->installEventFilter(this);
ui->functionsTreeWidget->viewport()->installEventFilter(this);
}
diff --git a/src/widgets/functionswidget.h b/src/widgets/functionswidget.h
index 7312551e..4ef04cae 100644
--- a/src/widgets/functionswidget.h
+++ b/src/widgets/functionswidget.h
@@ -41,7 +41,7 @@ private slots:
void on_nestedFunctionsTree_itemDoubleClicked(QTreeWidgetItem *item, int column);
- bool eventFilter(QObject *obj, QEvent *event);
+ bool eventFilter(QObject *obj, QEvent *event) override;
private:
Ui::FunctionsWidget *ui;
diff --git a/src/widgets/memwidget/memorywidget.ui b/src/widgets/memwidget/memorywidget.ui
index e253d8f9..0e929869 100644
--- a/src/widgets/memwidget/memorywidget.ui
+++ b/src/widgets/memwidget/memorywidget.ui
@@ -774,8 +774,6 @@ QToolTip {
previewToolButton
decoToolButton
- horizontalSpacer_2
- horizontalSpacer
simpleGrapgToolButton
diff --git a/src/widgets/sectionswidget.cpp b/src/widgets/sectionswidget.cpp
index 660fa258..8aa2d35f 100644
--- a/src/widgets/sectionswidget.cpp
+++ b/src/widgets/sectionswidget.cpp
@@ -15,9 +15,6 @@ SectionsWidget::SectionsWidget(MainWindow *main, QWidget *parent) :
setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred);
//setStyleSheet("QSplitter::handle:horizontal { width: 3px; } QSplitter::handle:vertical { height: 3px; }");
setStyleSheet("QSplitter::handle { height: 2px; background-color: rgb(255, 255, 255); image: url(:/new/prefix1/img/icons/tabs.png); }");
-
- // Resize eventfilter
- this->installEventFilter(this);
}
/*