diff --git a/RIVET.pro b/RIVET.pro index a7864018..1db8beaf 100644 --- a/RIVET.pro +++ b/RIVET.pro @@ -6,7 +6,7 @@ macx { QMAKE_CXXFLAGS+="-g -gdwarf-2 -ftemplate-depth=1024 " - QMAKE_POST_LINK='/usr/bin/dsymutil RIVET.app/Contents/MacOS/RIVET -o RIVET.app/Contents/MacOS/RIVET.dsym' + QMAKE_POST_LINK='/usr/bin/dsymutil rivet_GUI.app/Contents/MacOS/rivet_GUI -o rivet_GUI.app/Contents/MacOS/rivet_GUI.dsym' } CONFIG += c++11 debug diff --git a/customspinbox.h b/customspinbox.h index 530ff995..7e0f73bc 100644 --- a/customspinbox.h +++ b/customspinbox.h @@ -24,7 +24,7 @@ class CustomSpinBox : public QDoubleSpinBox //add in the minus sign if the value is negative, or if the user was in the middle of typing //a negative value >-1 (e.g. -0.5) - if(val<0 ||(lineEdit()->text().size()>0&& lineEdit()->text().at(0)=="-")){ + if(val<0 ||(lineEdit()->text().size()>0&& lineEdit()->text().at(0)=='-')){ str="-"+str; }