summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (show 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
@@ -579,29 +579,30 @@ void MainWindow::create( const Profile& prof ) {
QWidget *w = currentSession()->widget();
if(w) w->setFocus();
m_kb->load(currentSession()->profile());
}
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);
}
}
void MainWindow::slotOpenKeb(bool state) {
if (state) m_keyBar->show();
else m_keyBar->hide();