Skip to content

Commit

Permalink
Fix compilation with Qt 5.4
Browse files Browse the repository at this point in the history
  • Loading branch information
vkrause committed Nov 30, 2016
1 parent 610a1b8 commit 45abe5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/quickwidgetsupport/quickwidgetsupport.cpp
Expand Up @@ -116,7 +116,7 @@ bool GammaRay::QuickWidgetSupport::grabWindow(QQuickWindow *window) const
if (it == m_windowMap.constEnd())
return false;

#if QT_VERSION >= QT_VERSION_CHECK(5, 4, 0)
#if QT_VERSION >= QT_VERSION_CHECK(5, 5, 0)
auto image = it.value()->grabFramebuffer();
// See QTBUG-53795
image.setDevicePixelRatio(it.value()->quickWindow()->effectiveDevicePixelRatio());
Expand Down

0 comments on commit 45abe5c

Please sign in to comment.