diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-09-01 15:31:27 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-09-01 15:31:27 +1000 |
| commit | d76c799dd22a44621b557564ed9606e04ba40e34 (patch) | |
| tree | ea9dc55c4ef52a94e34f818003727b4170b9103b /plugin/src/Caelestia/filesystemmodel.cpp | |
| parent | cmake: more compiler warnings (diff) | |
| download | caelestia-shell-d76c799dd22a44621b557564ed9606e04ba40e34.tar.gz caelestia-shell-d76c799dd22a44621b557564ed9606e04ba40e34.tar.bz2 caelestia-shell-d76c799dd22a44621b557564ed9606e04ba40e34.zip | |
plugin: fix warnings + const stuff
Diffstat (limited to 'plugin/src/Caelestia/filesystemmodel.cpp')
| -rw-r--r-- | plugin/src/Caelestia/filesystemmodel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/src/Caelestia/filesystemmodel.cpp b/plugin/src/Caelestia/filesystemmodel.cpp index 3fb20d9..a1b35d3 100644 --- a/plugin/src/Caelestia/filesystemmodel.cpp +++ b/plugin/src/Caelestia/filesystemmodel.cpp @@ -10,7 +10,7 @@ int FileSystemModel::rowCount(const QModelIndex& parent) const { Q_UNUSED(parent); - return m_entries.size(); + return static_cast<int>(m_entries.size()); } QVariant FileSystemModel::data(const QModelIndex& index, int role) const { |