summaryrefslogtreecommitdiffstats
path: root/addon/doxywizard/doxywizard.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2008-01-16 19:20:21 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2008-01-16 19:20:21 (GMT)
commit8dab665567c9dffaa3f5fea198fc2110d536594d (patch)
tree78bac4e928b25e139605aceefa82537f378d8af0 /addon/doxywizard/doxywizard.cpp
parentd3461a1c31f008345d784dc3e819047bc5265c30 (diff)
downloadDoxygen-8dab665567c9dffaa3f5fea198fc2110d536594d.zip
Doxygen-8dab665567c9dffaa3f5fea198fc2110d536594d.tar.gz
Doxygen-8dab665567c9dffaa3f5fea198fc2110d536594d.tar.bz2
Release-1.5.4
Diffstat (limited to 'addon/doxywizard/doxywizard.cpp')
-rw-r--r--addon/doxywizard/doxywizard.cpp19
1 files changed, 18 insertions, 1 deletions
diff --git a/addon/doxywizard/doxywizard.cpp b/addon/doxywizard/doxywizard.cpp
index 9cbd414..35755ce 100644
--- a/addon/doxywizard/doxywizard.cpp
+++ b/addon/doxywizard/doxywizard.cpp
@@ -1103,10 +1103,14 @@ void MainWidget::launchWizard()
break;
}
#if defined(Q_OS_MACX)
- if (Config_getBool("HAVE_DOT"))
+ if (Config_getString("DOT_PATH").isEmpty())
{
setDotPath();
}
+ if (Config_getString("MSCGEN_PATH").isEmpty())
+ {
+ setMscgenPath();
+ }
#endif
setConfigSaved(FALSE);
}
@@ -1142,6 +1146,18 @@ void MainWidget::loadConfigFromFile(const QString &fn)
addRecentFile(fn);
m_workingDir->setText(QFileInfo(fn).dirPath(TRUE));
m_configFileName = fn;
+#if defined(Q_OS_MACX)
+ if (Config_getString("DOT_PATH").isEmpty())
+ {
+ setDotPath();
+ setConfigSaved(FALSE);
+ }
+ if (Config_getString("MSCGEN_PATH").isEmpty())
+ {
+ setMscgenPath();
+ setConfigSaved(FALSE);
+ }
+#endif
statusBar()->message("New configuration loaded",messageTimeout);
}
}
@@ -1228,6 +1244,7 @@ void MainWidget::resetConfig()
Config::instance()->init();
#if defined(Q_OS_MACX)
setDotPath();
+ setMscgenPath();
#endif
m_configFileName = "";