diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-09-01 17:41:26 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-09-01 17:41:26 +1000 |
| commit | 8b1f2be27be18459ba2c8f4d675b5bf36f7d2307 (patch) | |
| tree | 1a46525d6d3b4f50c17d0dd7aa41930895bdb257 /plugin/src/Caelestia/filesystemmodel.cpp | |
| parent | plugin/fsm: only provide modelData role (diff) | |
| download | caelestia-shell-8b1f2be27be18459ba2c8f4d675b5bf36f7d2307.tar.gz caelestia-shell-8b1f2be27be18459ba2c8f4d675b5bf36f7d2307.tar.bz2 caelestia-shell-8b1f2be27be18459ba2c8f4d675b5bf36f7d2307.zip | |
internal: format cpp
Diffstat (limited to 'plugin/src/Caelestia/filesystemmodel.cpp')
| -rw-r--r-- | plugin/src/Caelestia/filesystemmodel.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugin/src/Caelestia/filesystemmodel.cpp b/plugin/src/Caelestia/filesystemmodel.cpp index dc6027c..0a3d31a 100644 --- a/plugin/src/Caelestia/filesystemmodel.cpp +++ b/plugin/src/Caelestia/filesystemmodel.cpp @@ -1,12 +1,12 @@ #include "filesystemmodel.hpp" -#include <QObject> -#include <qqmlintegration.h> #include <QAbstractListModel> -#include <QFileInfo> #include <QDir> #include <QDirIterator> +#include <QFileInfo> #include <QImageReader> +#include <QObject> +#include <qqmlintegration.h> int FileSystemModel::rowCount(const QModelIndex& parent) const { if (parent != QModelIndex()) { @@ -23,7 +23,7 @@ QVariant FileSystemModel::data(const QModelIndex& index, int role) const { } QHash<int, QByteArray> FileSystemModel::roleNames() const { - return {{ Qt::UserRole, "modelData"}}; + return { { Qt::UserRole, "modelData" } }; } QString FileSystemModel::path() const { |