[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:14:30 UTC 2016


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

The following commit has been merged in the master branch:
commit 2489299817eab1733bbffb40aff6662c53b31a65
Author: Daniele E. Domenichelli <daniele.domenichelli at gmail.com>
Date:   Thu Feb 9 17:16:09 2012 +0100

    Port to the updated AccountsFilterModel
---
 mainwindow.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/mainwindow.cpp b/mainwindow.cpp
index 3c022a6..52225a0 100644
--- a/mainwindow.cpp
+++ b/mainwindow.cpp
@@ -162,8 +162,8 @@ MainWindow::MainWindow(const KUrl &url, QWidget *parent) :
     m_accountsModel = new AccountsModel(this);
     AccountsFilterModel *filterModel = new AccountsFilterModel(this);
     filterModel->setSourceModel(m_accountsModel);
-    filterModel->setShowOfflineUsers(false);
-    filterModel->setFilterByFileTransferCapability(true);
+    filterModel->setPresenceTypeFilterFlags(AccountsFilterModel::ShowOnlyConnected);
+    filterModel->setCapabilityFilterFlags(AccountsFilterModel::FilterByFileTransferCapability);
 
     connect(ui->filterBar, SIGNAL(textChanged(QString)),
             filterModel, SLOT(setFilterString(QString)));

-- 
ktp-send-file packaging



More information about the pkg-kde-commits mailing list