From a72d70beb381b9cd6f2af301b52ca82cdcafb299 Mon Sep 17 00:00:00 2001 From: zautrix Date: Sat, 22 Oct 2005 14:12:43 +0000 Subject: fix --- (limited to 'kaddressbook') diff --git a/kaddressbook/kabcore.cpp b/kaddressbook/kabcore.cpp index 4e2523e..033e537 100644 --- a/kaddressbook/kabcore.cpp +++ b/kaddressbook/kabcore.cpp @@ -848,8 +848,11 @@ void KABCore::updateMainWindow() } 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() ) @@ -896,6 +899,7 @@ void KABCore::resizeEvent(QResizeEvent* e ) } } desktop_width = QApplication::desktop()->width(); +#endif QWidget::resizeEvent( e ); } -- cgit v0.9.0.2