summaryrefslogtreecommitdiff
path: root/plugin/src/Caelestia/filesystemmodel.cpp
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-09-06 00:24:54 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-09-06 00:24:54 +1000
commitcfc1dc447c8bf6306de74d1fb1dba7943a1e1232 (patch)
tree3c3fa2f649635a071173032f01c647af9a80b0f2 /plugin/src/Caelestia/filesystemmodel.cpp
parentnix: fix package name typo (#567) (diff)
downloadcaelestia-shell-cfc1dc447c8bf6306de74d1fb1dba7943a1e1232.tar.gz
caelestia-shell-cfc1dc447c8bf6306de74d1fb1dba7943a1e1232.tar.bz2
caelestia-shell-cfc1dc447c8bf6306de74d1fb1dba7943a1e1232.zip
plugin: namespace everything
Diffstat (limited to '')
-rw-r--r--plugin/src/Caelestia/filesystemmodel.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugin/src/Caelestia/filesystemmodel.cpp b/plugin/src/Caelestia/filesystemmodel.cpp
index e5e4c84..15de489 100644
--- a/plugin/src/Caelestia/filesystemmodel.cpp
+++ b/plugin/src/Caelestia/filesystemmodel.cpp
@@ -10,6 +10,8 @@
#include <QtConcurrent>
#include <qqmlintegration.h>
+namespace caelestia {
+
int FileSystemModel::rowCount(const QModelIndex& parent) const {
if (parent != QModelIndex()) {
return 0;
@@ -366,3 +368,5 @@ bool FileSystemModel::compareEntries(const FileSystemEntry* a, const FileSystemE
}
return a->relativePath().localeAwareCompare(b->relativePath()) < 0;
}
+
+} // namespace caelestia