aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui/coreview/value.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/value.cpp
parentb6355b1d65edfa51c9f80ac4c8c088bf9f19b788 (diff)
downloadqtmips-8f3476d465cf3167cd710465019878231732a736.tar.gz
qtmips-8f3476d465cf3167cd710465019878231732a736.tar.bz2
qtmips-8f3476d465cf3167cd710465019878231732a736.zip
pointSize -> pixelSize
Diffstat (limited to 'qtmips_gui/coreview/value.cpp')
-rw-r--r--qtmips_gui/coreview/value.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qtmips_gui/coreview/value.cpp b/qtmips_gui/coreview/value.cpp
index 2be8bb6..1250fb1 100644
--- a/qtmips_gui/coreview/value.cpp
+++ b/qtmips_gui/coreview/value.cpp
@@ -59,7 +59,7 @@ QRectF Value::boundingRect() const {
void Value::paint(QPainter *painter, const QStyleOptionGraphicsItem *option __attribute__((unused)), QWidget *widget __attribute__((unused))){
QFont f;
- f.setPointSize(FontSize::SIZE7);
+ f.setPixelSize(FontSize::SIZE7);
painter->setFont(f);
QRectF rect;