summaryrefslogtreecommitdiffabout
authorzautrix <zautrix>2004-11-01 21:55:00 (UTC)
committer zautrix <zautrix>2004-11-01 21:55:00 (UTC)
commit71eeea80d9c449bd1983c1a9207c7123e919b55f (patch) (side-by-side diff)
tree36e8bbd4901b4c1f8d566e529b7a31e08d93ec76
parent2340aa4fcce77bf99308f2b2848680138124f837 (diff)
downloadkdepimpi-71eeea80d9c449bd1983c1a9207c7123e919b55f.zip
kdepimpi-71eeea80d9c449bd1983c1a9207c7123e919b55f.tar.gz
kdepimpi-71eeea80d9c449bd1983c1a9207c7123e919b55f.tar.bz2
toolbar repaint fix for kapi
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--bin/kdepim/WhatsNew.txt4
-rw-r--r--kaddressbook/kabcore.cpp7
-rw-r--r--kaddressbook/kabcore.h1
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
@@ -9,5 +9,5 @@ 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.
diff --git a/kaddressbook/kabcore.cpp b/kaddressbook/kabcore.cpp
index 4445310..d651224 100644
--- a/kaddressbook/kabcore.cpp
+++ b/kaddressbook/kabcore.cpp
@@ -359,4 +359,11 @@ KABCore::KABCore( KXMLGUIClient *client, bool readWrite, QWidget *parent, const
//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()
diff --git a/kaddressbook/kabcore.h b/kaddressbook/kabcore.h
index d2ee45d..0a52838 100644
--- a/kaddressbook/kabcore.h
+++ b/kaddressbook/kabcore.h
@@ -362,2 +362,3 @@ class KABCore : public QWidget, public KSyncInterface
private slots:
+ void updateToolBar();
void receive( const QCString& cmsg, const QByteArray& data );