summaryrefslogtreecommitdiffstats
path: root/examples/network
diff options
context:
space:
mode:
authorAriya Hidayat <ariya.hidayat@nokia.com>2009-06-05 15:41:58 (GMT)
committerAriya Hidayat <ariya.hidayat@nokia.com>2009-06-05 15:41:58 (GMT)
commite873cbdec9098856df2c2b584cee73ea0c5563ff (patch)
tree7d4bdc53f8c1b6da0c24772fe7908ce0271cf3a4 /examples/network
parent7e53a66171ee3358abe4b022ce0fa721259fa604 (diff)
parent9691523b796c6acc6a837a5f5a34fef16aa74c48 (diff)
downloadQt-e873cbdec9098856df2c2b584cee73ea0c5563ff.zip
Qt-e873cbdec9098856df2c2b584cee73ea0c5563ff.tar.gz
Qt-e873cbdec9098856df2c2b584cee73ea0c5563ff.tar.bz2
Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt into kinetic-graphicseffect
Diffstat (limited to 'examples/network')
-rw-r--r--examples/network/http/httpwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/network/http/httpwindow.cpp b/examples/network/http/httpwindow.cpp
index ebde770..7aded07 100644
--- a/examples/network/http/httpwindow.cpp
+++ b/examples/network/http/httpwindow.cpp
@@ -116,8 +116,8 @@ void HttpWindow::downloadFile()
if (QMessageBox::question(this, tr("HTTP"),
tr("There already exists a file called %1 in "
"the current directory. Overwrite?").arg(fileName),
- QMessageBox::Ok|QMessageBox::Cancel, QMessageBox::Cancel)
- == QMessageBox::Cancel)
+ QMessageBox::Yes|QMessageBox::No, QMessageBox::No)
+ == QMessageBox::No)
return;
QFile::remove(fileName);
}