[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: extragear/pim/mailody/src
From: Tom Albers <toma () kde ! org>
Date: 2009-10-17 12:29:08
Message-ID: 1255782548.860923.4300.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1036558 by toma:
we can always use synchronizeCollectionTree on every resource.
M +2 -1 headerwidget.cpp
M +4 -11 mainwindow.cpp
--- trunk/extragear/pim/mailody/src/headerwidget.cpp #1036557:1036558
@@ -66,7 +66,8 @@
m_headerProxy->setSourceModel( m_messageModel );
m_headerView->setModel( m_headerProxy );
- connect( m_headerView, SIGNAL( clicked( QModelIndex ) ), SLOT( itemActivated( QModelIndex ) ) );
+ connect( m_headerView, SIGNAL( clicked( QModelIndex ) ),
+ SLOT( itemActivated( QModelIndex ) ) );
layout->addWidget( m_searchLine );
layout->addWidget( m_headerView );
--- trunk/extragear/pim/mailody/src/mainwindow.cpp #1036557:1036558
@@ -698,22 +698,16 @@
foreach( const QString& capable, agent.type().mimeTypes() ) {
if ( mimeTypeList.contains( capable ) ) {
- /* We know we can do a collection-tree-sync-only for imap and nntp */
- if ( agent.type().identifier() == "akonadi_imap_resource" ||
- agent.type().identifier() == "akonadi_nntp_resource" ) {
+ if ( agent.type().identifier() == "akonadi_imap_resource") {
// set to manual expunge
QString dbusstr = "org.freedesktop.Akonadi.Resource.";
dbusstr.append( agent.identifier() );
QDBusInterface dbus( dbusstr, "/", "org.kde.Akonadi.Imap.Resource" );
dbus.call( QLatin1String( "setCustomPurge" ), true );
-
- agent.synchronizeCollectionTree();
- // kDebug() << "Starting sync: " << agent.type().identifier() << "CollectionTree";
- } else {
- agent.synchronize();
- // kDebug() << "Starting sync: " << agent.type().identifier() << "Full sync";
}
+
+ agent.synchronizeCollectionTree();
}
}
}
@@ -1443,8 +1437,7 @@
void MainWindow::slotPrint()
{
- MessageWidget *tb = m_tabWidget->currentTabWidget();
- tb->print();
+ m_tabWidget->currentTabWidget()->print();
}
void MainWindow::slotShowRoute()
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic