[SCM] ktp-send-file packaging branch, master, updated. debian/15.12.1-2-216-g8f07cdf

Maximiliano Curia maxy at moszumanska.debian.org
Sat May 28 00:13:57 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-send-file.git;a=commitdiff;h=ea19f36

The following commit has been merged in the master branch:
commit ea19f36f29ceef645b0d7951dc371fcfc3efafc6
Author: David Edmundson <kde at davidedmundson.co.uk>
Date:   Wed Jun 8 12:21:40 2011 +0100

    Fix the models by switching round the use of the flat model proxy and the filter proxy.
---
 mainwindow.cpp | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/mainwindow.cpp b/mainwindow.cpp
index ae70987..855fe2f 100644
--- a/mainwindow.cpp
+++ b/mainwindow.cpp
@@ -84,9 +84,10 @@ void MainWindow::showIcon(const KFileItem &file)
 void MainWindow::onAccountManagerReady()
 {
     AccountsModel *model = new AccountsModel(m_accountManager, this);
-    FlatModelProxy *flatProxyModel = new FlatModelProxy(model);
     AccountFilterModel *filterModel = new AccountFilterModel(this);
-    filterModel->setSourceModel(flatProxyModel);
+    filterModel->setSourceModel(model);
     filterModel->filterOfflineUsers(true);
-    ui->listView->setModel(filterModel);
+    FlatModelProxy *flatProxyModel = new FlatModelProxy(filterModel);
+
+    ui->listView->setModel(flatProxyModel);
 }

-- 
ktp-send-file packaging



More information about the pkg-kde-commits mailing list