From 71eeea80d9c449bd1983c1a9207c7123e919b55f Mon Sep 17 00:00:00 2001 From: zautrix Date: Mon, 01 Nov 2004 21:55:00 +0000 Subject: toolbar repaint fix for kapi --- diff --git a/bin/kdepim/WhatsNew.txt b/bin/kdepim/WhatsNew.txt index 5037443..29688de 100644 --- a/bin/kdepim/WhatsNew.txt +++ b/bin/kdepim/WhatsNew.txt @@ -7,9 +7,9 @@ Fix for the bug in KO/Pi What's Next view of version 1.9.11. Bugfix: Licence file is now shown again. OM/Pi now supports Unicode (utf8 charset). +Fixed some bugs in OM/Pi. -Why a new release? -Because of the two bugs. +KA/Pi has more German translation. ********** VERSION 1.9.11 ************ diff --git a/kaddressbook/kabcore.cpp b/kaddressbook/kabcore.cpp index 4445310..d651224 100644 --- a/kaddressbook/kabcore.cpp +++ b/kaddressbook/kabcore.cpp @@ -357,8 +357,15 @@ KABCore::KABCore( KXMLGUIClient *client, bool readWrite, QWidget *parent, const infrared = 0; #endif //toggleBeamReceive( ); + + // we have a toolbar repainting error on the Zaurus when starting KA/Pi + QTimer::singleShot( 1, this , SLOT ( updateToolBar())); } +void KABCore::updateToolBar() +{ + mMainWindow->toolBar()->repaint(); +} KABCore::~KABCore() { // save(); diff --git a/kaddressbook/kabcore.h b/kaddressbook/kabcore.h index d2ee45d..0a52838 100644 --- a/kaddressbook/kabcore.h +++ b/kaddressbook/kabcore.h @@ -360,6 +360,7 @@ class KABCore : public QWidget, public KSyncInterface void setDetailsToState(); // void slotSyncMenu( int ); private slots: + void updateToolBar(); void receive( const QCString& cmsg, const QByteArray& data ); void toggleBeamReceive( ); void disableBR(bool); -- cgit v0.9.0.2