aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui/coreview/adder.cpp
diff options
context:
space:
mode:
authorFanda Vacek <vacek@elektroline.cz>2019-02-18 20:14:21 +0100
committerPavel Pisa <pisa@cmp.felk.cvut.cz>2019-02-19 11:26:35 +0100
commit8f3476d465cf3167cd710465019878231732a736 (patch)
tree1ea2d27ca05ce3f877bca4734f06180750213b27 /qtmips_gui/coreview/adder.cpp
parentb6355b1d65edfa51c9f80ac4c8c088bf9f19b788 (diff)
downloadqtmips-8f3476d465cf3167cd710465019878231732a736.tar.gz
qtmips-8f3476d465cf3167cd710465019878231732a736.tar.bz2
qtmips-8f3476d465cf3167cd710465019878231732a736.zip
pointSize -> pixelSize
Diffstat (limited to 'qtmips_gui/coreview/adder.cpp')
-rw-r--r--qtmips_gui/coreview/adder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qtmips_gui/coreview/adder.cpp b/qtmips_gui/coreview/adder.cpp
index d24b603..49d67d4 100644
--- a/qtmips_gui/coreview/adder.cpp
+++ b/qtmips_gui/coreview/adder.cpp
@@ -48,7 +48,7 @@ using namespace coreview;
Adder::Adder() : QGraphicsItem(nullptr), plus("+", this) {
QFont font;
- font.setPointSize(FontSize::SIZE7);
+ font.setPixelSize(FontSize::SIZE7);
plus.setFont(font);
QRectF plus_box = plus.boundingRect();
plus.setPos(DENT + (WIDTH-DENT)/2 - plus_box.width()/2, HEIGHT/2 - plus_box.height()/2);