Diffstat (limited to 'core/pim/todo/mainwindow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/todo/mainwindow.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/core/pim/todo/mainwindow.cpp b/core/pim/todo/mainwindow.cpp index c90166b..d328558 100644 --- a/core/pim/todo/mainwindow.cpp +++ b/core/pim/todo/mainwindow.cpp @@ -88,3 +88,3 @@ void MainWindow::initTemplate() { void MainWindow::initActions() { - + // Data menu @@ -92,3 +92,3 @@ void MainWindow::initActions() { -1, 0 ); - + QAction* a = new QAction( QWidget::tr("New Task" ), Resource::loadPixmap( "new" ), @@ -253,3 +253,3 @@ void MainWindow::initEditor() { void MainWindow::initShow() { - m_curShow = new TextViewShow(this); + m_curShow = new TextViewShow(this, this); m_stack->addWidget( m_curShow->widget() , m_counter++ ); @@ -815 +815,4 @@ void MainWindow::add( const OPimRecord& rec) { } +void MainWindow::slotReturnFromView() { + raiseCurrentView(); +} |