]> Creatis software - clitk.git/blobdiff - vv/vvSegmentationDialog.cxx
Debug RTStruct conversion with empty struc
[clitk.git] / vv / vvSegmentationDialog.cxx
index d4bea5baa088d8728298f9c364b995859710fa0f..b538b9d6919e7bbaa57bbfd6549ddd5bfb48b3b0 100644 (file)
 #include <QMessageBox>
 #include <QFileDialog>
 
+#ifdef Q_OS_OSX
+# include "vvOSXHelper.h"
+#endif
+
 //====================================================================
 vvSegmentationDialog::vvSegmentationDialog(QWidget * parent, Qt::WindowFlags f)
   :QDialog(parent,f), Ui::vvSegmentationDialog()
@@ -102,6 +106,10 @@ vvSegmentationDialog::vvSegmentationDialog(QWidget * parent, Qt::WindowFlags f)
   erodeButton->setEnabled(0);
   dilateButton->setEnabled(0);
   infoLabel->setText("Select Up and Down threshold before clicking binarise !");
+
+#ifdef Q_OS_OSX
+  disableGLHiDPI(viewWidget->winId());
+#endif
 }
 
 vvSegmentationDialog::~vvSegmentationDialog()