Skip to content

Commit

Permalink
SidebarModel: Fix: Add "const" to declaration of dragMoveAccept (impl…
Browse files Browse the repository at this point in the history
…ementation is already declared as "const")
  • Loading branch information
cr7pt0gr4ph7 committed Oct 16, 2024
1 parent aec4fc7 commit f9a2c4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/library/sidebarmodel.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class SidebarModel : public QAbstractItemModel {
QVariant data(const QModelIndex& index,
int role = Qt::DisplayRole) const override;
bool dropAccept(const QModelIndex& index, const QList<QUrl>& urls, QObject* pSource);
bool dragMoveAccept(const QModelIndex& index, const QUrl& url);
bool dragMoveAccept(const QModelIndex& index, const QUrl& url) const;
bool hasChildren(const QModelIndex& parent = QModelIndex()) const override;
bool hasTrackTable(const QModelIndex& index) const;
QModelIndex translateChildIndex(const QModelIndex& index) {
Expand Down

0 comments on commit f9a2c4d

Please sign in to comment.