change Q_WS_MAC -> Q_OS_MAC (Qt5 compatibility)

This commit is contained in:
Paolo Cignoni cignoni 2014-02-20 16:06:56 +00:00
parent 43a95b1c15
commit 791edd0064
2 changed files with 2 additions and 2 deletions

View File

@ -166,7 +166,7 @@ void MeshlabStdDialog::loadFrameContent(MeshDocument *mdPt)
QPushButton *applyButton = new QPushButton("Apply", qf);
QPushButton *defaultButton = new QPushButton("Default", qf);
applyButton->setFocus();
#ifdef Q_WS_MAC
#ifdef Q_OS_MAC
// Hack needed on mac for correct sizes of button in the bottom of the dialog.
helpButton->setMinimumSize(100, 25);
closeButton->setMinimumSize(100,25);

View File

@ -71,7 +71,7 @@ void MeshLabXMLStdDialog::loadFrameContent( )
applyButton->setFocus();
bool onlyimportant = true;
connect(this->parentWidget(),SIGNAL(filterExecuted()),this,SLOT(postFilterExecution()));
#ifdef Q_WS_MAC
#ifdef Q_OS_MAC
// Hack needed on mac for correct sizes of button in the bottom of the dialog.
helpButton->setMinimumSize(100, 25);
closeButton->setMinimumSize(100,25);