summaryrefslogtreecommitdiff
path: root/core/pim/todo/mainwindow.cpp
Side-by-side diff
Diffstat (limited to 'core/pim/todo/mainwindow.cpp') (more/less context) (show whitespace changes)
-rw-r--r--core/pim/todo/mainwindow.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/pim/todo/mainwindow.cpp b/core/pim/todo/mainwindow.cpp
index 2994915..a6d657c 100644
--- a/core/pim/todo/mainwindow.cpp
+++ b/core/pim/todo/mainwindow.cpp
@@ -677,3 +677,7 @@ void MainWindow::slotUpdate3( QWidget* ) {
void MainWindow::updateList() {
m_todoMgr.updateList();
}
+void MainWindow::setReadAhead( uint count ) {
+ if (m_todoMgr.todoDB() )
+ m_todoMgr.todoDB()->setReadAhead( count );
+}