diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2008-01-16 19:20:21 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2008-01-16 19:20:21 (GMT) |
commit | fc90c25edfba404f54319eaeeacca39246f95c9e (patch) | |
tree | 78bac4e928b25e139605aceefa82537f378d8af0 /addon/doxywizard/doxywizard.cpp | |
parent | f57b7d974fec18d1d8f325c102efd8be5930131d (diff) | |
download | Doxygen-fc90c25edfba404f54319eaeeacca39246f95c9e.zip Doxygen-fc90c25edfba404f54319eaeeacca39246f95c9e.tar.gz Doxygen-fc90c25edfba404f54319eaeeacca39246f95c9e.tar.bz2 |
Release-1.5.4
Diffstat (limited to 'addon/doxywizard/doxywizard.cpp')
-rw-r--r-- | addon/doxywizard/doxywizard.cpp | 19 |
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 = ""; |