Diffstat (limited to 'noncore/apps/opie-console/mainwindow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/mainwindow.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/noncore/apps/opie-console/mainwindow.cpp b/noncore/apps/opie-console/mainwindow.cpp index bfd1c2e..27bcc09 100644 --- a/noncore/apps/opie-console/mainwindow.cpp +++ b/noncore/apps/opie-console/mainwindow.cpp | |||
@@ -303,36 +303,36 @@ void MainWindow::slotClose() { | |||
303 | */ | 303 | */ |
304 | void MainWindow::slotProfile( int id) { | 304 | void MainWindow::slotProfile( int id) { |
305 | Profile prof = manager()->profile( m_sessionsPop->text( id) ); | 305 | Profile prof = manager()->profile( m_sessionsPop->text( id) ); |
306 | create( prof ); | 306 | create( prof ); |
307 | } | 307 | } |
308 | void MainWindow::create( const Profile& prof ) { | 308 | void MainWindow::create( const Profile& prof ) { |
309 | Session *ses = manager()->fromProfile( prof, tabWidget() ); | 309 | Session *ses = manager()->fromProfile( prof, tabWidget() ); |
310 | 310 | ||
311 | m_sessions.append( ses ); | 311 | m_sessions.append( ses ); |
312 | tabWidget()->add( ses ); | 312 | tabWidget()->add( ses ); |
313 | m_curSession = ses; | 313 | m_curSession = ses; |
314 | 314 | ||
315 | } | 315 | } |
316 | 316 | ||
317 | void MainWindow::slotTransfer() | 317 | void MainWindow::slotTransfer() |
318 | { | 318 | { |
319 | if ( currentSession() ) { | 319 | // if ( currentSession() ) { |
320 | TransferDialog dlg(this); | 320 | TransferDialog dlg(this); |
321 | //dlg.showMaximized(); | 321 | dlg.showMaximized(); |
322 | dlg.exec(); | 322 | dlg.exec(); |
323 | } | 323 | // } |
324 | } | 324 | } |
325 | 325 | ||
326 | 326 | ||
327 | void MainWindow::slotOpenKeb(bool state) { | 327 | void MainWindow::slotOpenKeb(bool state) { |
328 | 328 | ||
329 | if (state) m_keyBar->show(); | 329 | if (state) m_keyBar->show(); |
330 | else m_keyBar->hide(); | 330 | else m_keyBar->hide(); |
331 | 331 | ||
332 | } | 332 | } |
333 | void MainWindow::slotSessionChanged( Session* ses ) { | 333 | void MainWindow::slotSessionChanged( Session* ses ) { |
334 | if ( ses ) { | 334 | if ( ses ) { |
335 | qWarning("changing %s", ses->name().latin1() ); | 335 | qWarning("changing %s", ses->name().latin1() ); |
336 | m_curSession = ses; | 336 | m_curSession = ses; |
337 | } | 337 | } |
338 | } | 338 | } |