Skip to content

Commit dd1f272

Browse files
committed
Add detect openspin at startup.
1 parent 41dc7ad commit dd1f272

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

propside/properties.cpp

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -357,16 +357,14 @@ void Properties::setupSpinFolders()
357357
QString myspin = mygcc.mid(0,mygcc.lastIndexOf("/"))+"/";
358358
qDebug() << myspin;
359359

360-
#if 0
361-
/* using spin fails to compile dat at the moment. */
362-
if(QFile::exists(myspin+"spin")) {
363-
myspin += "spin";
360+
/* using openspin */
361+
if(QFile::exists(myspin+"openspin")) {
362+
myspin += "openspin";
364363
}
365-
else if(QFile::exists(myspin+"spin.exe")) {
366-
myspin += "spin.exe";
364+
else if(QFile::exists(myspin+"openspin.exe")) {
365+
myspin += "openspin.exe";
367366
}
368367
else
369-
#endif
370368
if(QFile::exists(myspin+"bstc")) {
371369
myspin += "bstc";
372370
}

0 commit comments

Comments
 (0)