fixed font size compilation error

This commit is contained in:
csoler 2018-03-02 18:13:09 +01:00
parent ca402c2ba1
commit f2a737ec99
No known key found for this signature in database
GPG Key ID: 7BCA522266C0804C

View File

@ -264,7 +264,7 @@ public:
QVariant sizeHintRole(int col) const
{
float factor = QFontMetricsF(font())/14.0f ;
float factor = QFontMetricsF(QApplication::font()).height()/14.0f ;
switch(col)
{