]> Creatis software - clitk.git/blobdiff - vv/vvToolProfile.cxx
Debug MacOSX Display with Profile Tool
[clitk.git] / 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();