format(remainder): clang-format remainder of files
Python / lint-format (pull_request) Successful in 27s
Lint & Format (JS/TS) / lint-format (pull_request) Successful in 48s
Python / test (pull_request) Successful in 1m2s
C++ / build (pull_request) Successful in 2m15s
Lint & Format (Rust) / lint-format (pull_request) Successful in 1m25s

This commit is contained in:
2026-06-30 02:10:37 +02:00
parent 658be09da2
commit 1e31e14de8
3 changed files with 8 additions and 5 deletions
+5 -2
View File
@@ -14,7 +14,8 @@ int DesktopModel::rowCount(const QModelIndex& parent) const {
}
QVariant DesktopModel::data(const QModelIndex& index, int role) const {
if (!index.isValid() || index.row() >= static_cast<int>(m_items.size())) return QVariant();
if (!index.isValid() || index.row() >= static_cast<int>(m_items.size()))
return QVariant();
const DesktopItem& item = m_items[index.row()];
switch (role) {
@@ -243,7 +244,9 @@ void DesktopModel::massMove(
}
emit dataChanged(
index(0, 0), index(static_cast<int>(m_items.size()) - 1, 0), {GridXRole, GridYRole});
index(0, 0),
index(static_cast<int>(m_items.size()) - 1, 0),
{GridXRole, GridYRole});
saveCurrentLayout();
}