Skip to content

Commit

Permalink
fixed two compile-time errors for rivet_GUI that occurred on some sys…
Browse files Browse the repository at this point in the history
…tems
  • Loading branch information
mlwright84 committed Aug 13, 2018
1 parent 14362fc commit 47879c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion RIVET.pro
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion customspinbox.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 47879c3

Please sign in to comment.