summaryrefslogtreecommitdiffstats
path: root/addon/doxywizard
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2002-09-27 17:06:31 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2002-09-27 17:06:31 (GMT)
commit5ed55684b0226c2371f1d39cd7f984da44c9ccb1 (patch)
treef0751a83dd63c0dc8f76a3cd2044acf074e860a2 /addon/doxywizard
parent482b6bd47a106e132ff06bb410e87c8e0da643d2 (diff)
downloadDoxygen-5ed55684b0226c2371f1d39cd7f984da44c9ccb1.zip
Doxygen-5ed55684b0226c2371f1d39cd7f984da44c9ccb1.tar.gz
Doxygen-5ed55684b0226c2371f1d39cd7f984da44c9ccb1.tar.bz2
Release-1.2.18-20020927
Diffstat (limited to 'addon/doxywizard')
-rw-r--r--addon/doxywizard/doxywizard.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/addon/doxywizard/doxywizard.cpp b/addon/doxywizard/doxywizard.cpp
index 84f9f08..4c6b91e 100644
--- a/addon/doxywizard/doxywizard.cpp
+++ b/addon/doxywizard/doxywizard.cpp
@@ -266,11 +266,18 @@ void Wizard::saveAsFile()
void Wizard::runDoxygen()
{
saveFile();
- QString s = "doxygen " + configFileName;
+ QString orgDir = QDir::currentDirPath();
+ QFileInfo fi(configFileName);
+ // cd to the config dir
+ QDir::setCurrent(fi.dirPath());
+ // run doxygen on the config file
+ QString s = "doxygen \"" + fi.fileName() + "\"";
+ // actually run the exe
system((const char*)s);
statusBar()->message("doxygen completed: "+ configFileName, messageTimeout );
hasChanged = FALSE;
refreshCaption();
+ QDir::setCurrent(orgDir);
}