Hello community,

here is the log from the commit of package qtfm for openSUSE:Factory checked in 
at 2019-04-26 22:54:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/qtfm (Old)
 and      /work/SRC/openSUSE:Factory/.qtfm.new.5536 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "qtfm"

Fri Apr 26 22:54:46 2019 rev:6 rq:698107 version:6.1.9

Changes:
--------
--- /work/SRC/openSUSE:Factory/qtfm/qtfm.changes        2019-03-20 
13:22:31.605296358 +0100
+++ /work/SRC/openSUSE:Factory/.qtfm.new.5536/qtfm.changes      2019-04-26 
22:54:55.221296955 +0200
@@ -1,0 +2,8 @@
+Thu Apr 25 19:29:57 UTC 2019 - Alexei Podvalsky <[email protected]>
+
+- Update to 6.1.9:
+  * clipboard changed: check pointer before read (fix segfault on
+    wayland)
+  * don't collapse tree on refresh
+
+-------------------------------------------------------------------

Old:
----
  qtfm-6.1.8.tar.gz

New:
----
  qtfm-6.1.9.tar.gz

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

Other differences:
------------------
++++++ qtfm.spec ++++++
--- /var/tmp/diff_new_pack.5PJ4aI/_old  2019-04-26 22:54:55.669296667 +0200
+++ /var/tmp/diff_new_pack.5PJ4aI/_new  2019-04-26 22:54:55.673296664 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           qtfm
-Version:        6.1.8
+Version:        6.1.9
 Release:        0
 Summary:        Qt File Manager
 License:        GPL-2.0-or-later AND BSD-3-Clause

++++++ qtfm-6.1.8.tar.gz -> qtfm-6.1.9.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qtfm-6.1.8/ChangeLog new/qtfm-6.1.9/ChangeLog
--- old/qtfm-6.1.8/ChangeLog    2019-03-19 00:08:15.000000000 +0100
+++ new/qtfm-6.1.9/ChangeLog    2019-04-24 16:49:46.000000000 +0200
@@ -1,3 +1,7 @@
+6.1.9 24-April 2019
+- clipboard changed: check pointer before read (fix segfault on wayland)
+- don't collapse tree on refresh
+
 6.1.8 19-March 2019
 - Fix segfault if D-Bus is missing
 - Fix executeFile path
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qtfm-6.1.8/fm/src/mainwindow.cpp 
new/qtfm-6.1.9/fm/src/mainwindow.cpp
--- old/qtfm-6.1.8/fm/src/mainwindow.cpp        2019-03-19 00:08:15.000000000 
+0100
+++ new/qtfm-6.1.9/fm/src/mainwindow.cpp        2019-04-24 16:49:46.000000000 
+0200
@@ -637,6 +637,7 @@
 
 void MainWindow::treeSelectionChanged(QModelIndex current, QModelIndex 
previous)
 {
+    qDebug() << "treeSelectionChanged";
     Q_UNUSED(previous)
 
     QFileInfo name = modelList->fileInfo(modelTree->mapToSource(current));
@@ -956,15 +957,21 @@
 //---------------------------------------------------------------------------
 
 /**
- * @brief Reaction for change of clippboard content
+ * @brief Handle clipboard changes
  */
-void MainWindow::clipboardChanged() {
-  if (QApplication::clipboard()->mimeData()->hasUrls()) {
-    pasteAct->setEnabled(true);
-  } else {
+void MainWindow::clipboardChanged()
+{
+    qDebug() << "clipboard changed";
+    if (QApplication::clipboard()->mimeData()) {
+        if (QApplication::clipboard()->mimeData()->hasUrls()) {
+            qDebug() << "clipboard has data, enable paste";
+            pasteAct->setEnabled(true);
+            return;
+        }
+    }
+    // clear tmp and disable paste if no mime
     modelList->clearCutItems();
     pasteAct->setEnabled(false);
-  }
 }
 //---------------------------------------------------------------------------
 
@@ -1683,14 +1690,18 @@
 
 void MainWindow::refresh(bool modelRefresh, bool loadDir)
 {
-    qDebug() << "refresh";
+    qDebug() << "refresh" << modelRefresh << loadDir;
     if (modelRefresh) {
         modelList->refreshItems();
         modelList->forceRefresh();
     }
+
     QModelIndex baseIndex = 
modelView->mapFromSource(modelList->index(pathEdit->currentText()));
     if (currentView == 2) { detailTree->setRootIndex(baseIndex); }
     else { list->setRootIndex(baseIndex); }
+
+    pathEditChanged(pathEdit->currentText());
+
     if (loadDir) {
         qDebug() << "trigger dirloaded from refresh";
         dirLoaded();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qtfm-6.1.8/qtfm.pri new/qtfm-6.1.9/qtfm.pri
--- old/qtfm-6.1.8/qtfm.pri     2019-03-19 00:08:15.000000000 +0100
+++ new/qtfm-6.1.9/qtfm.pri     2019-04-24 16:49:46.000000000 +0200
@@ -2,7 +2,7 @@
 QTFM_TARGET_NAME = "QtFM"
 QTFM_MAJOR = 6
 QTFM_MINOR = 1
-QTFM_PATCH = 8
+QTFM_PATCH = 9
 
 QMAKE_TARGET_COMPANY = "QtFM"
 QMAKE_TARGET_PRODUCT = "QtFM"


Reply via email to