From 986de768d052251f0083cc24aa25186fec94d011 Mon Sep 17 00:00:00 2001 From: tbaudier Date: Thu, 18 Feb 2016 10:26:31 +0100 Subject: [PATCH] Debug MacOSX Display with Profile Tool --- vv/vvToolProfile.cxx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/vv/vvToolProfile.cxx b/vv/vvToolProfile.cxx index 96b463f..4909aad 100644 --- a/vv/vvToolProfile.cxx +++ b/vv/vvToolProfile.cxx @@ -47,6 +47,10 @@ #include #include +#ifdef Q_OS_OSX +# include "vvOSXHelper.h" +#endif + //------------------------------------------------------------------------------ // Create the tool and automagically (I like this word) insert it in // the main window menu. @@ -105,6 +109,10 @@ vvToolProfile::vvToolProfile(vvMainWindowBase * parent, Qt::WindowFlags f) this->ProfileWidget->GetRenderWindow()->AddRenderer(mView->GetRenderer()); ProfileWidget->show(); +#ifdef Q_OS_OSX + disableGLHiDPI(ProfileWidget->winId()); +#endif + // Main filter mFilter = clitk::ProfileImageGenericFilter::New(); -- 2.47.1