mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-24 15:05:35 -04:00
fixed font size compilation error
This commit is contained in:
parent
ca402c2ba1
commit
f2a737ec99
1 changed files with 1 additions and 1 deletions
|
@ -264,7 +264,7 @@ public:
|
||||||
|
|
||||||
QVariant sizeHintRole(int col) const
|
QVariant sizeHintRole(int col) const
|
||||||
{
|
{
|
||||||
float factor = QFontMetricsF(font())/14.0f ;
|
float factor = QFontMetricsF(QApplication::font()).height()/14.0f ;
|
||||||
|
|
||||||
switch(col)
|
switch(col)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue