This commit is contained in:
Kovid Goyal 2016-09-26 18:07:41 +05:30
parent eb43e53372
commit a09f70ea22
2 changed files with 2 additions and 2 deletions

View File

@ -1351,7 +1351,7 @@ void PictureFlow::keyPressEvent(QKeyEvent* event)
#define SPEED_UPPER_LIMIT 40
qreal PictureFlow::device_pixel_ratio() const {
#if QT_VERSION >= QT_VERSION_CHECK(5, 6, 0)
#if (QT_VERSION >= QT_VERSION_CHECK(5, 6, 0))
return devicePixelRatioF();
#else
return (qreal)devicePixelRatio();

View File

@ -269,7 +269,7 @@ static const char *specialLanguages[] = {
"sa", // Siddham
"sd", // Khudawadi
"mai", // Tirhuta
#if QT_VERSION >= QT_VERSION_CHECK(5, 6, 0)
#if (QT_VERSION >= QT_VERSION_CHECK(5, 6, 0))
"hoc", // WarangCiti
"", // Ahom
"", // AnatolianHieroglyphs