diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2009-10-04 20:20:24 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2009-10-04 20:20:24 (GMT) |
commit | a62d9f8f1c2c97d454ff33bc1a4911d1362d9766 (patch) | |
tree | 36e6fdf77248708eaee0f1180b2ea526d1323c18 /addon/doxywizard/doxywizard.cpp | |
parent | 0c8b6ca69f951ce8c94902764cf036d6a79e5102 (diff) | |
download | Doxygen-a62d9f8f1c2c97d454ff33bc1a4911d1362d9766.zip Doxygen-a62d9f8f1c2c97d454ff33bc1a4911d1362d9766.tar.gz Doxygen-a62d9f8f1c2c97d454ff33bc1a4911d1362d9766.tar.bz2 |
Release-1.6.1-20091004
Diffstat (limited to 'addon/doxywizard/doxywizard.cpp')
-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); |