summaryrefslogtreecommitdiff
path: root/noncore
authorjosef <josef>2002-10-26 11:56:08 (UTC)
committer josef <josef>2002-10-26 11:56:08 (UTC)
commit0d58e14f2bcfa2a1f5c9a197d5bb544571824207 (patch) (unidiff)
tree86a60a7b02f5458263982a77d2d05f3b49672ced /noncore
parent88504fa6ed3e4ec1c11d3e1cde13c821b1a9b846 (diff)
downloadopie-0d58e14f2bcfa2a1f5c9a197d5bb544571824207.zip
opie-0d58e14f2bcfa2a1f5c9a197d5bb544571824207.tar.gz
opie-0d58e14f2bcfa2a1f5c9a197d5bb544571824207.tar.bz2
- Ah! That's how to use the widget stack
Diffstat (limited to 'noncore') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/mainwindow.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/noncore/apps/opie-console/mainwindow.cpp b/noncore/apps/opie-console/mainwindow.cpp
index e3c3c38..936b1b2 100644
--- a/noncore/apps/opie-console/mainwindow.cpp
+++ b/noncore/apps/opie-console/mainwindow.cpp
@@ -588,11 +588,12 @@ void MainWindow::slotTransfer()
588{ 588{
589 if ( currentSession() ) { 589 if ( currentSession() ) {
590 Session *mysession = currentSession(); 590 Session *mysession = currentSession();
591 TransferDialog dlg(mysession->widgetStack(), this); 591 TransferDialog dlg(/*mysession->widgetStack()*/this, this);
592 mysession->setTransferDialog(&dlg); 592 mysession->setTransferDialog(&dlg);
593 dlg.show(); 593 //dlg.reparent(mysession->widgetStack(), QPoint(0, 0));
594 //dlg.showMaximized(); 594 //dlg.showMaximized();
595 //currentSession()->widgetStack()->add(dlg); 595 currentSession()->widgetStack()->addWidget(&dlg, -1);
596 dlg.show();
596 //dlg.exec(); 597 //dlg.exec();
597 while(dlg.isRunning()) qApp->processEvents(); 598 while(dlg.isRunning()) qApp->processEvents();
598 mysession->setTransferDialog(0l); 599 mysession->setTransferDialog(0l);