summaryrefslogtreecommitdiff
path: root/src/moapplication.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/moapplication.cpp')
-rw-r--r--src/moapplication.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/moapplication.cpp b/src/moapplication.cpp
index 9de54f2f..9a77c17e 100644
--- a/src/moapplication.cpp
+++ b/src/moapplication.cpp
@@ -102,7 +102,7 @@ public:
rect.topLeft() + QPoint(-5, -5)
};
painter->drawPolygon(tri, 3);
- painter->drawLine(QPoint(rect.topLeft().x(), rect.topLeft().y()), rect.topRight());
+ painter->drawLine(rect.topLeft(), rect.topRight());
}
else {
painter->drawRoundedRect(rect, 5, 5);