summaryrefslogtreecommitdiff
path: root/noncore/unsupported/mail2/attachdiag.cpp
authorleseb <leseb>2002-06-15 22:12:05 (UTC)
committer leseb <leseb>2002-06-15 22:12:05 (UTC)
commit5c1c1ad8a78041eebf4193d5bcf2a82dfe983e0e (patch) (side-by-side diff)
tree5e4059233a5de9c95b188ff1c7dca87ce8586e6a /noncore/unsupported/mail2/attachdiag.cpp
parentac6c5de1e7a15b4ca5bdf226a9eeceffb82aea94 (diff)
downloadopie-5c1c1ad8a78041eebf4193d5bcf2a82dfe983e0e.zip
opie-5c1c1ad8a78041eebf4193d5bcf2a82dfe983e0e.tar.gz
opie-5c1c1ad8a78041eebf4193d5bcf2a82dfe983e0e.tar.bz2
Minor fixes
Diffstat (limited to 'noncore/unsupported/mail2/attachdiag.cpp') (more/less context) (show 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
@@ -52,15 +52,15 @@ AttachDiag::AttachDiag(QWidget* parent = 0, const char* name = 0, bool modal, WF
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();
if (QDialog::Accepted == attach->exec()) {
return attach->currentFile;
}