summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--kaddressbook/kabcore.cpp1
-rw-r--r--korganizer/mainwindow.cpp4
2 files changed, 4 insertions, 1 deletions
diff --git a/kaddressbook/kabcore.cpp b/kaddressbook/kabcore.cpp
index 3ab06c4..2e408b7 100644
--- a/kaddressbook/kabcore.cpp
+++ b/kaddressbook/kabcore.cpp
@@ -335,4 +335,5 @@ void KABCore::recieve( QString fn )
mViewManager->refreshView();
message(i18n("%1 contact(s) received!").arg( count ));
+ topLevelWidget()->showMaximized();
topLevelWidget()->raise();
}
diff --git a/korganizer/mainwindow.cpp b/korganizer/mainwindow.cpp
index 58d8d34..30c0d2f 100644
--- a/korganizer/mainwindow.cpp
+++ b/korganizer/mainwindow.cpp
@@ -340,5 +340,7 @@ void MainWindow::recieve( const QCString& cmsg, const QByteArray& data )
QString fileName;
stream >> fileName;
- qDebug("filename %s ", fileName.latin1());
+ //qDebug("filename %s ", fileName.latin1());
+ showMaximized();
+ raise();
KOPrefs::instance()->mLastSyncedLocalFile = fileName ;
mSyncManager->slotSyncMenu( 1002 );