From: tbaudier Date: Thu, 18 Feb 2016 09:26:31 +0000 (+0100) Subject: Debug MacOSX Display with Profile Tool X-Git-Tag: v1.4.0~60 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=986de768d052251f0083cc24aa25186fec94d011;p=clitk.git Debug MacOSX Display with Profile Tool --- 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();