2 Commits
Author SHA1 Message Date
AramJonghu 1e31e14de8 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
2026-06-30 02:10:37 +02:00
AramJonghu 658be09da2 fix(buttonrow): restore private specifier removed by clang-format 2026-06-30 02:10:17 +02:00
4 changed files with 10 additions and 5 deletions
+2
View File
@@ -28,6 +28,8 @@ class ButtonRow : public QQuickItem {
private slots:
void invalidate();
// NOLINTNEXTLINE(readability-redundant-access-specifiers)
private:
void relayout();
static qreal getMorphExpansion(const QQuickItem* item);
@@ -15,8 +15,8 @@ constexpr qint32 TAIL_DEGREES_OFFSET = -20;
constexpr qint32 EXTRA_DEGREES_PER_CYCLE = 250;
constexpr qint32 CONSTANT_ROTATION_DEGREES = 1520;
constexpr std::array<qint32, TOTAL_CYCLES> DELAY_TO_EXPAND_IN_MS =
{0, 1350, 2700, 4050};
constexpr std::array<qint32, TOTAL_CYCLES> DELAY_TO_EXPAND_IN_MS = {
0, 1350, 2700, 4050};
constexpr std::array<qint32, TOTAL_CYCLES> DELAY_TO_COLLAPSE_IN_MS = {
667, 2017, 3367, 4717};
+1 -1
View File
@@ -76,4 +76,4 @@ class HyprDevices : public QObject {
QList<HyprKeyboard*> m_keyboards;
};
}
} // namespace ZShell::internal::hypr
+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();
}