Commit d5456864 authored by Laurent Montel's avatar Laurent Montel 😁

Const'ify method

Test Plan: compile

Reviewers: hein, broulik

Reviewed By: broulik

Subscribers: plasma-devel

Tags: #plasma

Differential Revision:
parent 25d2652a
......@@ -639,7 +639,7 @@ int FolderModel::fileExtensionBoundary(int row)
return boundary;
bool FolderModel::hasSelection()
bool FolderModel::hasSelection() const
return m_selectionModel->hasSelection();
......@@ -191,7 +191,7 @@ class FOLDERPLUGIN_TESTS_EXPORT FolderModel : public QSortFilterProxyModel
Q_INVOKABLE void rename(int row, const QString &name);
Q_INVOKABLE int fileExtensionBoundary(int row);
Q_INVOKABLE bool hasSelection();
Q_INVOKABLE bool hasSelection() const;
Q_INVOKABLE bool isSelected(int row);
Q_INVOKABLE void setSelected(int row);
Q_INVOKABLE void toggleSelected(int row);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment