diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2009-10-04 20:20:24 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2009-10-04 20:20:24 (GMT) |
commit | 1042ef3a191bd0f399f1a2a20fe259c14fe6faf9 (patch) | |
tree | 36e6fdf77248708eaee0f1180b2ea526d1323c18 /addon | |
parent | ab2543160a96dae45f256daaeca7e093f65db6ad (diff) | |
download | Doxygen-1042ef3a191bd0f399f1a2a20fe259c14fe6faf9.zip Doxygen-1042ef3a191bd0f399f1a2a20fe259c14fe6faf9.tar.gz Doxygen-1042ef3a191bd0f399f1a2a20fe259c14fe6faf9.tar.bz2 |
Release-1.6.1-20091004
Diffstat (limited to 'addon')
-rw-r--r-- | addon/doxywizard/doxywizard.cpp | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/addon/doxywizard/doxywizard.cpp b/addon/doxywizard/doxywizard.cpp index 2c30b14..a14aa4e 100644 --- a/addon/doxywizard/doxywizard.cpp +++ b/addon/doxywizard/doxywizard.cpp @@ -185,7 +185,7 @@ void MainWindow::about() t << QString::fromAscii("<qt><center>A tool to configure and run doxygen version ")+ QString::fromAscii(versionString)+ QString::fromAscii(" on your source files.</center><p><br>" - "<center>Written by<br> Dimitri van Heesch<br>© 2000-2008</center><p>" + "<center>Written by<br> Dimitri van Heesch<br>© 2000-2009</center><p>" "</qt>"); QMessageBox::about(this,tr("Doxygen GUI"),msg); } @@ -230,7 +230,14 @@ void MainWindow::saveConfig(const QString &fileName) { if (fileName.isEmpty()) return; QFile f(fileName); - if (!f.open(QIODevice::WriteOnly)) return; + if (!f.open(QIODevice::WriteOnly)) + { + QMessageBox::warning(this, + tr("Error saving"), + tr("Error: cannot open the file ")+fileName+tr(" for writing!\n")+ + tr("Reason given: ")+f.error()); + return; + } QTextStream t(&f); m_expert->writeConfig(t,false); updateConfigFileName(fileName); |