Skip to content

Commit

Permalink
WLibrarySidebar: Remove empty timerEvent() override
Browse files Browse the repository at this point in the history
  • Loading branch information
cr7pt0gr4ph7 committed Oct 16, 2024
1 parent 9ad2dbe commit 830a021
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
4 changes: 0 additions & 4 deletions src/widget/wlibrarysidebar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,6 @@ void WLibrarySidebar::dragMoveEvent(QDragMoveEvent * event) {
}
}

void WLibrarySidebar::timerEvent(QTimerEvent *event) {
QTreeView::timerEvent(event);
}

// Drag-and-drop "drop" event. Occurs when something is dropped onto the track sources view
void WLibrarySidebar::dropEvent(QDropEvent* event) {
auto* sidebarModel = qobject_cast<SidebarModel*>(model());
Expand Down
1 change: 0 additions & 1 deletion src/widget/wlibrarysidebar.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ class WLibrarySidebar : public QTreeView, public WBaseWidget {
void keyPressEvent(QKeyEvent* event) override;
void mousePressEvent(QMouseEvent* event) override;
void focusInEvent(QFocusEvent* event) override;
void timerEvent(QTimerEvent* event) override;
void toggleSelectedItem();
bool isLeafNodeSelected();
bool isChildIndexSelected(const QModelIndex& index);
Expand Down

0 comments on commit 830a021

Please sign in to comment.