Skip to content

Commit 901046f

Browse files
committed
Fix build with Qt 6.9
The signal parameter is completely unnecessary as the member is read anyway.
1 parent e3c7ba5 commit 901046f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Models/path_model.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ void PathModel::refresh_folded_paths() {
6767
// only add multiselected items in multiselect mode
6868
auto v = paths | std::views::filter([&](const auto &i) { return !multiselected || i.multiselect; });
6969
folded_uri_list = std::accumulate(v.cbegin(), v.cend(), QString(), [](QString s, const auto p) { return s.append(QString::fromStdString(p.get_uri()) + "\r\n"); });
70-
emit foldedUriListChanged(folded_uri_list);
70+
emit foldedUriListChanged();
7171
}
7272

7373
void PathModel::open(int i) const {

src/Models/path_model.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class PathModel : public QAbstractListModel {
2828
Q_INVOKABLE void finish_init();
2929
void add_path(Path p);
3030
signals:
31-
void foldedUriListChanged(QString foldedUriList);
31+
void foldedUriListChanged();
3232
private:
3333
enum RoleNames {
3434
PathRole = Qt::UserRole,

0 commit comments

Comments
 (0)