author | josef <josef> | 2002-10-26 11:56:08 (UTC) |
---|---|---|
committer | josef <josef> | 2002-10-26 11:56:08 (UTC) |
commit | 0d58e14f2bcfa2a1f5c9a197d5bb544571824207 (patch) (side-by-side diff) | |
tree | 86a60a7b02f5458263982a77d2d05f3b49672ced | |
parent | 88504fa6ed3e4ec1c11d3e1cde13c821b1a9b846 (diff) | |
download | opie-0d58e14f2bcfa2a1f5c9a197d5bb544571824207.zip opie-0d58e14f2bcfa2a1f5c9a197d5bb544571824207.tar.gz opie-0d58e14f2bcfa2a1f5c9a197d5bb544571824207.tar.bz2 |
- Ah! That's how to use the widget stack
-rw-r--r-- | noncore/apps/opie-console/mainwindow.cpp | 7 |
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() { if ( currentSession() ) { Session *mysession = currentSession(); - TransferDialog dlg(mysession->widgetStack(), this); + TransferDialog dlg(/*mysession->widgetStack()*/this, this); mysession->setTransferDialog(&dlg); - dlg.show(); + //dlg.reparent(mysession->widgetStack(), QPoint(0, 0)); //dlg.showMaximized(); - //currentSession()->widgetStack()->add(dlg); + currentSession()->widgetStack()->addWidget(&dlg, -1); + dlg.show(); //dlg.exec(); while(dlg.isRunning()) qApp->processEvents(); mysession->setTransferDialog(0l); |