aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui/widgets
diff options
context:
space:
mode:
authorTrial97 <alexandru.tripon97@gmail.com>2023-06-15 14:12:29 +0300
committerTrial97 <alexandru.tripon97@gmail.com>2023-06-15 14:12:29 +0300
commit98a07da39bbc41529b67cf515849d403280af07c (patch)
tree421c69bf42a56e343af85b7a8770b4e8dbf570ba /launcher/ui/widgets
parentcb52be433d2a55338df2205d2cebbf3e4d2f5eb5 (diff)
downloadPrismLauncher-98a07da39bbc41529b67cf515849d403280af07c.tar.gz
PrismLauncher-98a07da39bbc41529b67cf515849d403280af07c.tar.bz2
PrismLauncher-98a07da39bbc41529b67cf515849d403280af07c.zip
Renamed variable
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
Diffstat (limited to 'launcher/ui/widgets')
-rw-r--r--launcher/ui/widgets/ProjectItem.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/launcher/ui/widgets/ProjectItem.cpp b/launcher/ui/widgets/ProjectItem.cpp
index 0b00a9bd..0085d6b2 100644
--- a/launcher/ui/widgets/ProjectItem.cpp
+++ b/launcher/ui/widgets/ProjectItem.cpp
@@ -65,15 +65,15 @@ void ProjectItemDelegate::paint(QPainter* painter, const QStyleOptionViewItem& o
font.setUnderline(true);
}
if (index.data(UserDataTypes::INSTALLED).toBool()) {
- auto rect = opt.rect;
- rect.setX(rect.x() + 1);
- rect.setY(rect.y() + 1);
- rect.setHeight(rect.height() - 2);
- rect.setWidth(rect.width() - 2);
+ auto hRect = opt.rect;
+ hRect.setX(hRect.x() + 1);
+ hRect.setY(hRect.y() + 1);
+ hRect.setHeight(hRect.height() - 2);
+ hRect.setWidth(hRect.width() - 2);
// Set nice font
font.setItalic(true);
font.setOverline(true);
- painter->drawRect(rect);
+ painter->drawRect(hRect);
}
font.setPointSize(font.pointSize() + 2);