]> Creatis software - clitk.git/commitdiff
Debug MacOSX Display with Profile Tool
authortbaudier <thomas.baudier@creatis.insa-lyon.fr>
Thu, 18 Feb 2016 09:26:31 +0000 (10:26 +0100)
committertbaudier <thomas.baudier@creatis.insa-lyon.fr>
Thu, 18 Feb 2016 09:26:31 +0000 (10:26 +0100)
vv/vvToolProfile.cxx

index 96b463f03c9d932259d01f5f7186898f04508c6b..4909aadac5e7191b9d16ac2d4701e6627abc7371 100644 (file)
 #include <vtkBox.h>
 #include <vtkInformation.h>
 
+#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();