summaryrefslogtreecommitdiff
path: root/noncore/unsupported/mail2/attachdiag.cpp
Side-by-side diff
Diffstat (limited to 'noncore/unsupported/mail2/attachdiag.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/mail2/attachdiag.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/unsupported/mail2/attachdiag.cpp b/noncore/unsupported/mail2/attachdiag.cpp
index 6e6c3d4..bedf3c4 100644
--- a/noncore/unsupported/mail2/attachdiag.cpp
+++ b/noncore/unsupported/mail2/attachdiag.cpp
@@ -55,9 +55,9 @@ void AttachDiag::fileSelected(const DocLnk &file)
currentFile = file;
}
-DocLnk AttachDiag::getFile()
+DocLnk AttachDiag::getFile(QWidget *parent)
{
- AttachDiag *attach = new AttachDiag(0, 0, true);
+ AttachDiag *attach = new AttachDiag(parent, 0, true);
attach->showMaximized();
attach->show();