Diffstat (limited to 'noncore/unsupported/mail2/attachdiag.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/unsupported/mail2/attachdiag.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/noncore/unsupported/mail2/attachdiag.cpp b/noncore/unsupported/mail2/attachdiag.cpp index bedf3c4..36e1948 100644 --- a/noncore/unsupported/mail2/attachdiag.cpp +++ b/noncore/unsupported/mail2/attachdiag.cpp | |||
@@ -59,8 +59,8 @@ DocLnk AttachDiag::getFile(QWidget *parent) | |||
59 | { | 59 | { |
60 | AttachDiag *attach = new AttachDiag(parent, 0, true); | 60 | AttachDiag attach(parent, 0, true); |
61 | attach->showMaximized(); | 61 | attach.showMaximized(); |
62 | attach->show(); | 62 | attach.show(); |
63 | 63 | ||
64 | if (QDialog::Accepted == attach->exec()) { | 64 | if (QDialog::Accepted == attach.exec()) { |
65 | return attach->currentFile; | 65 | return attach.currentFile; |
66 | } | 66 | } |