summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--core/pim/datebook/datebook.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/pim/datebook/datebook.cpp b/core/pim/datebook/datebook.cpp
index c0a744a..7dcf156 100644
--- a/core/pim/datebook/datebook.cpp
+++ b/core/pim/datebook/datebook.cpp
@@ -675,6 +675,10 @@ void DateBook::appMessage(const QCString& msg, const QByteArray& data)
675 } 675 }
676 } 676 }
677 } else if ( msg == "nextView()" ) { 677 } else if ( msg == "nextView()" ) {
678 if ( !qApp-> activeWindow ( )) {
679 needShow = TRUE;
680 }
681 else {
678 QWidget* cur = views->visibleWidget(); 682 QWidget* cur = views->visibleWidget();
679 if ( cur ) { 683 if ( cur ) {
680 if ( cur == dayView ) 684 if ( cur == dayView )
@@ -688,6 +692,7 @@ void DateBook::appMessage(const QCString& msg, const QByteArray& data)
688 needShow = TRUE; 692 needShow = TRUE;
689 } 693 }
690 } 694 }
695 }
691 if ( needShow ) { 696 if ( needShow ) {
692#if defined(Q_WS_QWS) || defined(_WS_QWS_) 697#if defined(Q_WS_QWS) || defined(_WS_QWS_)
693 showMaximized(); 698 showMaximized();