mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 02:42:55 +00:00
inline qt_pixelSize() function
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
fc836182d5
commit
68ae3393d1
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ static inline bool isWeightBold(const int weight)
|
|||
return (weight >= QFont::Bold); // or QFont::DemiBold?
|
||||
}
|
||||
|
||||
static double qt_pixelSize(double pointSize, int dpi)
|
||||
static inline double qt_pixelSize(double pointSize, int dpi)
|
||||
{
|
||||
if (pointSize < 0)
|
||||
return -1.;
|
||||
|
|
Loading…
Add table
Reference in a new issue