summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/mainwindow.cpp
Unidiff
Diffstat (limited to 'noncore/apps/opie-console/mainwindow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/mainwindow.cpp6
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
@@ -295,44 +295,44 @@ void MainWindow::slotClose() {
295 m_curSession = m_sessions.first(); 295 m_curSession = m_sessions.first();
296 tabWidget()->setCurrent( m_curSession ); 296 tabWidget()->setCurrent( m_curSession );
297} 297}
298 298
299/* 299/*
300 * We will get the name 300 * We will get the name
301 * Then the profile 301 * Then the profile
302 * and then we will make a profile 302 * and then we will make a profile
303 */ 303 */
304void MainWindow::slotProfile( int id) { 304void 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}
308void MainWindow::create( const Profile& prof ) { 308void 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
317void MainWindow::slotTransfer() 317void 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
327void MainWindow::slotOpenKeb(bool state) { 327void 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}
333void MainWindow::slotSessionChanged( Session* ses ) { 333void 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}