aboutsummaryrefslogtreecommitdiffstats
path: root/textedit.cpp
diff options
context:
space:
mode:
authornils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2012-02-09 15:30:45 +0000
committernils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2012-02-09 15:30:45 +0000
commitfef6948a6d2b4c5771fb3443e64adf95e6076f43 (patch)
tree0b208418e5013f9deb62c75e36de67f63dec5679 /textedit.cpp
parentfixed help not shown in windows (diff)
downloadgpg4usb-fef6948a6d2b4c5771fb3443e64adf95e6076f43.tar.gz
gpg4usb-fef6948a6d2b4c5771fb3443e64adf95e6076f43.zip
fixed a few compiler warnings
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@804 34ebc366-c3a9-4b3c-9f84-69acf7962910
Diffstat (limited to 'textedit.cpp')
-rw-r--r--textedit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/textedit.cpp b/textedit.cpp
index 3d08abb..55ccf86 100644
--- a/textedit.cpp
+++ b/textedit.cpp
@@ -220,7 +220,7 @@ bool TextEdit::maybeSaveCurrentTab(bool askToSave) {
QTextDocument *document = page->getTextPage()->document();
if (document->isModified()) {
- QMessageBox::StandardButton result;
+ QMessageBox::StandardButton result = QMessageBox::Cancel;
// write title of tab to docname and remove the leading *
QString docname = tabWidget->tabText(tabWidget->currentIndex());