Skip to content

Commit e564d68

Browse files
mrpilot2claude
andcommitted
fix(ci): use braced-init-list instead of repeating QRect in return
clang-tidy modernize-return-braced-init-list, warnings-as-errors on ci-static. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
1 parent 374422e commit e564d68

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

aide/src/gui/notificationballoonhost.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ QRect NotificationBalloonHost::anchorRect() const
107107
// in the anchor's own local coordinate space, not global screen
108108
// coordinates.
109109
if (m_anchorWidget != nullptr) {
110-
return QRect(QPoint(0, 0), m_anchorWidget->size());
110+
return {QPoint(0, 0), m_anchorWidget->size()};
111111
}
112112
if (auto* screen = QGuiApplication::primaryScreen(); screen != nullptr) {
113113
return screen->availableGeometry();

0 commit comments

Comments
 (0)