[SCM] kdeconnect packaging branch, master, updated. upstream/1.0.1-206-gf661872

Maximiliano Curia maxy at moszumanska.debian.org
Thu Jul 13 18:27:05 UTC 2017


Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/kdeconnect.git;a=commitdiff;h=91cf466

The following commit has been merged in the master branch:
commit 91cf466ee2f04daad20ab4f4a474a92fdb0b1e38
Author: Thomas Posch <kdeconnect at online.posch.name>
Date:   Fri Sep 30 12:55:43 2016 +0200

    Sort commands by name, as we do on Android
    
    BUG: 369239
    REVIEW: 129076
---
 plugins/runcommand/runcommand_config.cpp | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/plugins/runcommand/runcommand_config.cpp b/plugins/runcommand/runcommand_config.cpp
index 8f465bc..d1e4a8c 100644
--- a/plugins/runcommand/runcommand_config.cpp
+++ b/plugins/runcommand/runcommand_config.cpp
@@ -83,6 +83,9 @@ void RunCommandConfig::load()
 
         m_entriesModel->appendRow(QList<QStandardItem*>() << newName << newCommand);
     }
+
+    m_entriesModel->sort(0);
+
     insertEmptyRow();
     connect(m_entriesModel, &QAbstractItemModel::dataChanged, this, &RunCommandConfig::onDataChanged);
 

-- 
kdeconnect packaging



More information about the pkg-kde-commits mailing list