diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2008-10-05 09:07:25 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2008-10-05 09:07:25 (GMT) |
commit | 2b7214abe11ecabe1030a6e757f067e6d77500e7 (patch) | |
tree | 9ff275a866b1660085cb0e638922291f5b2abd36 /addon | |
parent | 7b38eb9f5ca2c324c76f5d3b53dedfb2bd6486a0 (diff) | |
download | Doxygen-2b7214abe11ecabe1030a6e757f067e6d77500e7.zip Doxygen-2b7214abe11ecabe1030a6e757f067e6d77500e7.tar.gz Doxygen-2b7214abe11ecabe1030a6e757f067e6d77500e7.tar.bz2 |
Release-1.5.7.1
Diffstat (limited to 'addon')
-rw-r--r-- | addon/doxywizard/doxywizard.cpp | 30 |
1 files changed, 18 insertions, 12 deletions
diff --git a/addon/doxywizard/doxywizard.cpp b/addon/doxywizard/doxywizard.cpp index 1679bc9..160ba9c 100644 --- a/addon/doxywizard/doxywizard.cpp +++ b/addon/doxywizard/doxywizard.cpp @@ -49,12 +49,18 @@ QCString getResourcePath() void setDotPath() { - Config_getString("DOT_PATH")=getResourcePath(); + // TODO: enable this if we ship dot with doxygen again... +// Config_getString("DOT_PATH")=getResourcePath(); } -void setMscgenPath() +bool setMscgenPath() { - Config_getString("MSCGEN_PATH")=getResourcePath(); + if (Config_getString("MSCGEN_PATH")!=getResourcePath()) + { + Config_getString("MSCGEN_PATH")=getResourcePath(); + return TRUE; + } + return FALSE; } #endif @@ -496,11 +502,11 @@ Step4::Step4(QWidget *parent) : QWidget(parent,"Step4") m_dotOptions->setEnabled(FALSE); gbox->addWidget(w,4,0); -#if defined(Q_OS_MACX) // we bundle dot with the mac package - m_diagramMode->setButton(2); -#else +//#if defined(Q_OS_MACX) // we bundle dot with the mac package +// m_diagramMode->setButton(2); +//#else m_diagramMode->setButton(1); -#endif +//#endif layout->addWidget(m_diagramMode); layout->addStretch(1); @@ -1106,11 +1112,11 @@ void MainWidget::loadConfigFromFile(const QString &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("DOT_PATH").isEmpty()) + //{ + // setDotPath(); + // setConfigSaved(FALSE); + //} if (Config_getString("MSCGEN_PATH").isEmpty()) { setMscgenPath(); |