-rw-r--r-- | kaddressbook/kabcore.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/kaddressbook/kabcore.cpp b/kaddressbook/kabcore.cpp index 4e2523e..033e537 100644 --- a/kaddressbook/kabcore.cpp +++ b/kaddressbook/kabcore.cpp @@ -847,10 +847,13 @@ void KABCore::updateMainWindow() //mMainWindow->repaint(); } void KABCore::resizeEvent(QResizeEvent* e ) { - if ( !mMiniSplitter ) + if ( !mMiniSplitter ) { + QWidget::resizeEvent( e ); return; + } +#ifndef DESKTOP_VERSION static int desktop_width = 0; //qDebug("KABCore::resizeEvent %d %d ",desktop_width,QApplication::desktop()->width() ); if ( desktop_width != QApplication::desktop()->width() ) if ( QApplication::desktop()->width() >= 480 ) { @@ -895,8 +898,9 @@ void KABCore::resizeEvent(QResizeEvent* e ) } } } desktop_width = QApplication::desktop()->width(); +#endif QWidget::resizeEvent( e ); } void KABCore::export2phone() |