diff options
author | Fanda Vacek <vacek@elektroline.cz> | 2019-02-18 20:14:21 +0100 |
---|---|---|
committer | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-02-19 11:26:35 +0100 |
commit | 8f3476d465cf3167cd710465019878231732a736 (patch) | |
tree | 1ea2d27ca05ce3f877bca4734f06180750213b27 /qtmips_gui/coreview/adder.cpp | |
parent | b6355b1d65edfa51c9f80ac4c8c088bf9f19b788 (diff) | |
download | qtmips-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.cpp | 2 |
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); |