summaryrefslogtreecommitdiff
Side-by-side diff
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)
}
}
} else if ( msg == "nextView()" ) {
+ if ( !qApp-> activeWindow ( )) {
+ needShow = TRUE;
+ }
+ else {
QWidget* cur = views->visibleWidget();
if ( cur ) {
if ( cur == dayView )
@@ -688,6 +692,7 @@ void DateBook::appMessage(const QCString& msg, const QByteArray& data)
needShow = TRUE;
}
}
+ }
if ( needShow ) {
#if defined(Q_WS_QWS) || defined(_WS_QWS_)
showMaximized();