diff options
author | Arno <arno@disconnect.de> | 2019-11-22 13:34:39 +0100 |
---|---|---|
committer | Arno <arno@disconnect.de> | 2019-11-22 13:34:39 +0100 |
commit | 9b0b4cbd087eb1315a51d609ea2abc75e12bf083 (patch) | |
tree | 5e50dddf46180d749df2f4778fb9c662aadfd290 /helper.cpp | |
parent | b41db9bfac46ead20e1c9d3b6924231886cfee0c (diff) | |
download | SheMov-9b0b4cbd087eb1315a51d609ea2abc75e12bf083.tar.gz SheMov-9b0b4cbd087eb1315a51d609ea2abc75e12bf083.tar.bz2 SheMov-9b0b4cbd087eb1315a51d609ea2abc75e12bf083.zip |
Fix deprecation warnings
Diffstat (limited to 'helper.cpp')
-rw-r--r-- | helper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -300,7 +300,7 @@ namespace Helper { Duration dur(where); QFont font("Monospace", 10); QFontMetrics fm(font); - int width = fm.width(dur.toString()); + int width = fm.horizontalAdvance(dur.toString()); int height = fm.height(); QPainter p(&retval); p.setBrush(QBrush(QColor(255, 255, 255, 70))); |