Skip to content

Commit fc3ed57

Browse files
committed
fix
Done. The last reference to showAvatarPicker() was in the event filter — it was called when a user clicked the sidebar avatar. I've removed that block entirely.
1 parent f1ab5ca commit fc3ed57

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

src/mainwindow.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -407,9 +407,6 @@ bool MainWindow::eventFilter(QObject *obj, QEvent *event) {
407407
}
408408
}
409409
}
410-
} else if (obj == m_sidebarAvatarLabel && event->type() == QEvent::MouseButtonPress) {
411-
showAvatarPicker();
412-
return true;
413410
} else if (obj == m_topProfileWidget && event->type() == QEvent::MouseButtonPress) {
414411
ProfileCard* card = new ProfileCard(m_username, m_userData, this);
415412
// Center on screen or position near the widget

0 commit comments

Comments
 (0)