Diffstat (limited to 'noncore/apps/opie-console/transferdialog.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/transferdialog.cpp | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/noncore/apps/opie-console/transferdialog.cpp b/noncore/apps/opie-console/transferdialog.cpp index 75c4c72..0af1911 100644 --- a/noncore/apps/opie-console/transferdialog.cpp +++ b/noncore/apps/opie-console/transferdialog.cpp @@ -19,5 +19,5 @@ TransferDialog::TransferDialog(QWidget *parent, MainWindow *mainwindow, const char *) -: QDialog(parent, 0l, true), m_win(mainwindow) +: QDialog(parent, 0l, false), m_win(mainwindow) { m_lay = 0l; @@ -30,4 +30,5 @@ TransferDialog::TransferDialog(QWidget *parent, MainWindow *mainwindow, const ch m_autocleanup = 0; + m_running = true; group = new QButtonGroup(QObject::tr("Transfer mode"), this); @@ -168,5 +169,9 @@ void TransferDialog::slotCancel() { cleanup(); - if(m_autocleanup) close(); + if(m_autocleanup) + { + m_running = false; + close(); + } else { @@ -178,4 +183,5 @@ void TransferDialog::slotCancel() else { + m_running = false; close(); } @@ -265,2 +271,7 @@ void TransferDialog::slotMode(int id) } +bool TransferDialog::isRunning() +{ + return m_running; +} + |