diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2006-06-11 07:58:28 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2006-06-11 07:58:28 (GMT) |
commit | 9dbdf881dc5f0644777cc5732e7751325b508c91 (patch) | |
tree | 30cd22ecad5caf15fa470d190298c4e98b02e971 /addon/doxywizard | |
parent | 0674d909555d4b1fe1e000425195ef33b00fe1a5 (diff) | |
download | Doxygen-9dbdf881dc5f0644777cc5732e7751325b508c91.zip Doxygen-9dbdf881dc5f0644777cc5732e7751325b508c91.tar.gz Doxygen-9dbdf881dc5f0644777cc5732e7751325b508c91.tar.bz2 |
Release-1.4.7
Diffstat (limited to 'addon/doxywizard')
-rw-r--r-- | addon/doxywizard/doxywizard.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/addon/doxywizard/doxywizard.cpp b/addon/doxywizard/doxywizard.cpp index b221530..230143c 100644 --- a/addon/doxywizard/doxywizard.cpp +++ b/addon/doxywizard/doxywizard.cpp @@ -1191,6 +1191,16 @@ void MainWidget::saveConfigFile() if (!fn.isEmpty()) { QFile f(fn); + if (f.exists() && QMessageBox::question(this, + "Overwrite file? -- Doxywizard", + "A file called "+fn+" already exists. Do you want to overwrite it?", + "&Yes","&no", + QString::null, 0, 1) + ) + { + statusBar()->message("Save request aborted",messageTimeout); + return; + } if (f.open(IO_WriteOnly)) { QTextStream t(&f); |