author | zautrix <zautrix> | 2004-11-01 21:55:00 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-11-01 21:55:00 (UTC) |
commit | 71eeea80d9c449bd1983c1a9207c7123e919b55f (patch) (unidiff) | |
tree | 36e8bbd4901b4c1f8d566e529b7a31e08d93ec76 | |
parent | 2340aa4fcce77bf99308f2b2848680138124f837 (diff) | |
download | kdepimpi-71eeea80d9c449bd1983c1a9207c7123e919b55f.zip kdepimpi-71eeea80d9c449bd1983c1a9207c7123e919b55f.tar.gz kdepimpi-71eeea80d9c449bd1983c1a9207c7123e919b55f.tar.bz2 |
toolbar repaint fix for kapi
-rw-r--r-- | bin/kdepim/WhatsNew.txt | 4 | ||||
-rw-r--r-- | kaddressbook/kabcore.cpp | 7 | ||||
-rw-r--r-- | kaddressbook/kabcore.h | 1 |
3 files changed, 10 insertions, 2 deletions
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 | |||
@@ -8,7 +8,7 @@ Bugfix: Licence file is now shown again. | |||
8 | 8 | ||
9 | OM/Pi now supports Unicode (utf8 charset). | 9 | OM/Pi now supports Unicode (utf8 charset). |
10 | Fixed some bugs in OM/Pi. | ||
10 | 11 | ||
11 | Why a new release? | 12 | KA/Pi has more German translation. |
12 | Because of the two bugs. | ||
13 | 13 | ||
14 | 14 | ||
diff --git a/kaddressbook/kabcore.cpp b/kaddressbook/kabcore.cpp index 4445310..d651224 100644 --- a/kaddressbook/kabcore.cpp +++ b/kaddressbook/kabcore.cpp | |||
@@ -358,6 +358,13 @@ KABCore::KABCore( KXMLGUIClient *client, bool readWrite, QWidget *parent, const | |||
358 | #endif | 358 | #endif |
359 | //toggleBeamReceive( ); | 359 | //toggleBeamReceive( ); |
360 | |||
361 | // we have a toolbar repainting error on the Zaurus when starting KA/Pi | ||
362 | QTimer::singleShot( 1, this , SLOT ( updateToolBar())); | ||
360 | } | 363 | } |
361 | 364 | ||
365 | void KABCore::updateToolBar() | ||
366 | { | ||
367 | mMainWindow->toolBar()->repaint(); | ||
368 | } | ||
362 | KABCore::~KABCore() | 369 | KABCore::~KABCore() |
363 | { | 370 | { |
diff --git a/kaddressbook/kabcore.h b/kaddressbook/kabcore.h index d2ee45d..0a52838 100644 --- a/kaddressbook/kabcore.h +++ b/kaddressbook/kabcore.h | |||
@@ -361,4 +361,5 @@ class KABCore : public QWidget, public KSyncInterface | |||
361 | // void slotSyncMenu( int ); | 361 | // void slotSyncMenu( int ); |
362 | private slots: | 362 | private slots: |
363 | void updateToolBar(); | ||
363 | void receive( const QCString& cmsg, const QByteArray& data ); | 364 | void receive( const QCString& cmsg, const QByteArray& data ); |
364 | void toggleBeamReceive( ); | 365 | void toggleBeamReceive( ); |