Hello community,

here is the log from the commit of package clementine for openSUSE:Factory 
checked in at 2016-06-29 15:10:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/clementine (Old)
 and      /work/SRC/openSUSE:Factory/.clementine.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "clementine"

Changes:
--------
--- /work/SRC/openSUSE:Factory/clementine/clementine.changes    2016-04-28 
16:58:31.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.clementine.new/clementine.changes       
2016-06-29 15:10:25.000000000 +0200
@@ -1,0 +2,12 @@
+Fri Jun 24 15:15:24 UTC 2016 - [email protected]
+
+- Add clementine-1.3.1-fix-library-clicks.patch: fix a misbehaviour
+  while clicking on tree items, from upstream commit b85d09c by
+  Ivan Leontiev.
+
+-------------------------------------------------------------------
+Sun Jun 19 15:11:29 UTC 2016 - [email protected]
+
+- Added udisks2-support-for-devicemanager.patch from upstream
+
+-------------------------------------------------------------------

New:
----
  clementine-1.3.1-fix-library-clicks.patch
  udisks2-support-for-devicemanager.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ clementine.spec ++++++
--- /var/tmp/diff_new_pack.peafQj/_old  2016-06-29 15:10:26.000000000 +0200
+++ /var/tmp/diff_new_pack.peafQj/_new  2016-06-29 15:10:26.000000000 +0200
@@ -26,6 +26,10 @@
 Source:         
https://github.com/clementine-player/Clementine/releases/download/%{version}/%{name}-%{version}.tar.xz
 # PATCH-FIX-OPENSUSE clementine-fix-sqlite.patch -- Fix startup with default 
SQLite 3.12+.
 Patch0:         clementine-fix-sqlite.patch
+# PATCH-FEATURE-UPSTREAM udisks2-support-for-devicemanager.patch
+Patch1:         udisks2-support-for-devicemanager.patch
+# PATCH-FIX-UPSTREAM clementine-1.3.1-fix-library-clicks.patch -- Fix a 
misbehaviour while clicking on tree items, from commit b85d09c.
+Patch2:         clementine-1.3.1-fix-library-clicks.patch
 BuildRequires:  boost-devel
 BuildRequires:  cmake
 BuildRequires:  fdupes
@@ -90,6 +94,8 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
+%patch2 -p1
 # NOTE: Build using system versions of libraries.
 rm -rvf 3rdparty/taglib
 #rm -rvf 3rdparty/libmygpo-qt

++++++ clementine-1.3.1-fix-library-clicks.patch ++++++
--- a/src/widgets/autoexpandingtreeview.cpp
+++ b/src/widgets/autoexpandingtreeview.cpp
@@ -113,6 +113,20 @@ void AutoExpandingTreeView::mousePressEv
   }
 }
 
+void AutoExpandingTreeView::mouseDoubleClickEvent(QMouseEvent* event) {
+  State p_state = state();
+  QModelIndex index = indexAt(event->pos());
+
+  QTreeView::mouseDoubleClickEvent(event);
+
+  // If the p_state was the "AnimatingState", then the base class's
+  // "mouseDoubleClickEvent" method just did nothing, hence the
+  // "doubleClicked" signal is not emitted. So let's do it ourselves.
+  if (index.isValid() && p_state == AnimatingState) {
+    emit doubleClicked(index);
+  }
+}
+
 void AutoExpandingTreeView::keyPressEvent(QKeyEvent* e) {
   switch (e->key()) {
     case Qt::Key_Enter:
--- a/src/widgets/autoexpandingtreeview.h
+++ b/src/widgets/autoexpandingtreeview.h
@@ -47,6 +47,7 @@ signals:
 
   // QWidget
   void mousePressEvent(QMouseEvent* event);
+  void mouseDoubleClickEvent(QMouseEvent* event);
   void keyPressEvent(QKeyEvent* event);
 
   virtual bool CanRecursivelyExpand(const QModelIndex& index) const {
++++++ udisks2-support-for-devicemanager.patch ++++++
++++ 2338 lines (skipped)


Reply via email to