X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvSegmentationDialog.cxx;h=b538b9d6919e7bbaa57bbfd6549ddd5bfb48b3b0;hb=9cc0db2576ab7b5b11e3183340c2447af1cadf0d;hp=d4bea5baa088d8728298f9c364b995859710fa0f;hpb=10a10f801f12d2cea51dd564a67003971ad66269;p=clitk.git diff --git a/vv/vvSegmentationDialog.cxx b/vv/vvSegmentationDialog.cxx index d4bea5b..b538b9d 100644 --- a/vv/vvSegmentationDialog.cxx +++ b/vv/vvSegmentationDialog.cxx @@ -61,6 +61,10 @@ #include #include +#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()