From 82d4a938ce57d8611e1ef2e26924bb4367483b0c Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 29 Jun 2012 22:41:45 -0500 Subject: Disable unneccesary fsync() in cached IMAP handler --- kmail/kmfoldercachedimap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kmail/kmfoldercachedimap.cpp b/kmail/kmfoldercachedimap.cpp index 72f1113c2..e7009a237 100644 --- a/kmail/kmfoldercachedimap.cpp +++ b/kmail/kmfoldercachedimap.cpp @@ -478,7 +478,7 @@ int KMFolderCachedImap::writeUidCache() str << lastUid() << endl; uidcache.flush(); if ( uidcache.status() == IO_Ok ) { - fsync( uidcache.handle() ); /* this is probably overkill */ + // fsync( uidcache.handle() ); /* this is probably overkill */ uidcache.close(); if ( uidcache.status() == IO_Ok ) return 0; -- cgit v1.2.1 From e86bf8844081573c2d1447a8d5f683ae1596af42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Thu, 5 Jul 2012 18:43:46 +0200 Subject: Added DCOP interface to the kmail composer window This closes Bug 953 Thanks to Serghei Amelian --- kmail/mailcomposerIface.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/kmail/mailcomposerIface.h b/kmail/mailcomposerIface.h index 130a99e1f..189a573d4 100644 --- a/kmail/mailcomposerIface.h +++ b/kmail/mailcomposerIface.h @@ -13,6 +13,9 @@ class MailComposerIface : virtual public DCOPObject { K_DCOP + + public: MailComposerIface() : DCOPObject("MailComposerIface") {} + k_dcop: /** Send message. -- cgit v1.2.1 From 27f6b882c6ab3d87b3495e5b8d149670295fb5c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Fri, 6 Jul 2012 16:30:32 +0200 Subject: Fix knotes repeated reduction in RichText mode --- knotes/knote.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/knotes/knote.cpp b/knotes/knote.cpp index e68c8ca29..4b0a9172c 100644 --- a/knotes/knote.cpp +++ b/knotes/knote.cpp @@ -1214,7 +1214,7 @@ void KNote::updateLayout() if( m_tool ) { m_tool->setGeometry( contentsRect().x(), - contentsRect().bottom() - m_tool->height() + 1, + contentsRect().bottom() - (m_tool->isHidden() ? 0 : m_tool->height()) + 1, contentsRect().width(), m_tool->height() ); -- cgit v1.2.1