From f2a737ec99c715fa180175685f92f8f0e5ea8df3 Mon Sep 17 00:00:00 2001 From: csoler Date: Fri, 2 Mar 2018 18:13:09 +0100 Subject: [PATCH] fixed font size compilation error --- retroshare-gui/src/gui/FileTransfer/TransfersDialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/retroshare-gui/src/gui/FileTransfer/TransfersDialog.cpp b/retroshare-gui/src/gui/FileTransfer/TransfersDialog.cpp index 94e6f924e..1a67d95f8 100644 --- a/retroshare-gui/src/gui/FileTransfer/TransfersDialog.cpp +++ b/retroshare-gui/src/gui/FileTransfer/TransfersDialog.cpp @@ -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) {