mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 10:52:56 +00:00
const-ify variable in QFontMetrics constructor
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
bbbaf61082
commit
5cebae3dc6
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ QFontMetrics::QFontMetrics(const QFont &font, QPaintDevice *paintdevice)
|
|||
int dpi = paintdevice ? paintdevice->logicalDpiY() : QX11Info::appDpiY();
|
||||
#ifdef Q_WS_X11
|
||||
const QX11Info *info = qt_x11Info(paintdevice);
|
||||
int screen = info ? info->screen() : 0;
|
||||
const int screen = info ? info->screen() : 0;
|
||||
#else
|
||||
const int screen = 0;
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue