Hello community,

here is the log from the commit of package ktp-filetransfer-handler for 
openSUSE:Factory checked in at 2016-05-31 12:13:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ktp-filetransfer-handler (Old)
 and      /work/SRC/openSUSE:Factory/.ktp-filetransfer-handler.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ktp-filetransfer-handler"

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/ktp-filetransfer-handler/ktp-filetransfer-handler.changes
        2016-03-26 15:18:19.000000000 +0100
+++ 
/work/SRC/openSUSE:Factory/.ktp-filetransfer-handler.new/ktp-filetransfer-handler.changes
   2016-05-31 12:13:51.000000000 +0200
@@ -1,0 +2,24 @@
+Sat May  7 10:39:07 UTC 2016 - [email protected]
+
+- Update to KDE Applications 16.04.1
+   * KDE Applications 16.04.1
+   * https://www.kde.org/announcements/announce-applications-16.04.1.php
+
+
+-------------------------------------------------------------------
+Sun Apr 17 06:15:27 UTC 2016 - [email protected]
+
+- Update to KDE Applications 16.04.0
+   * KDE Applications 16.04.0
+   * https://www.kde.org/announcements/announce-applications-16.04.0.php
+
+
+-------------------------------------------------------------------
+Mon Apr 11 06:50:54 UTC 2016 - [email protected]
+
+- Update to KDE Applications 16.03.90
+   * KDE Applications 16.04.0 RC
+   * https://www.kde.org/announcements/announce-applications-16.04-rc.php
+
+
+-------------------------------------------------------------------

Old:
----
  ktp-filetransfer-handler-15.12.3.tar.xz

New:
----
  ktp-filetransfer-handler-16.04.1.tar.xz

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

Other differences:
------------------
++++++ ktp-filetransfer-handler.spec ++++++
--- /var/tmp/diff_new_pack.1qLgnd/_old  2016-05-31 12:13:52.000000000 +0200
+++ /var/tmp/diff_new_pack.1qLgnd/_new  2016-05-31 12:13:52.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           ktp-filetransfer-handler
-Version:        15.12.3
+Version:        16.04.1
 Release:        0
 Summary:        Telepathy filetransfer handler
 License:        GPL-2.0+

++++++ ktp-filetransfer-handler-15.12.3.tar.xz -> 
ktp-filetransfer-handler-16.04.1.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ktp-filetransfer-handler-15.12.3/CMakeLists.txt 
new/ktp-filetransfer-handler-16.04.1/CMakeLists.txt
--- old/ktp-filetransfer-handler-15.12.3/CMakeLists.txt 2016-03-10 
00:25:19.000000000 +0100
+++ new/ktp-filetransfer-handler-16.04.1/CMakeLists.txt 2016-04-27 
21:11:25.000000000 +0200
@@ -3,9 +3,9 @@
 cmake_minimum_required(VERSION 2.8.12)
 
 # KDE Application Version, managed by release script
-set(KDE_APPLICATIONS_VERSION_MAJOR "15")
-set(KDE_APPLICATIONS_VERSION_MINOR "12")
-set(KDE_APPLICATIONS_VERSION_MICRO "3")
+set(KDE_APPLICATIONS_VERSION_MAJOR "16")
+set(KDE_APPLICATIONS_VERSION_MINOR "04")
+set(KDE_APPLICATIONS_VERSION_MICRO "1")
 set(KTP_FILETRANSFER_HANDLER_VERSION 
"${KDE_APPLICATIONS_VERSION_MAJOR}.${KDE_APPLICATIONS_VERSION_MINOR}.${KDE_APPLICATIONS_VERSION_MICRO}")
 
 find_package(ECM 1.3.0 REQUIRED NO_MODULE)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ktp-filetransfer-handler-15.12.3/src/CMakeLists.txt 
new/ktp-filetransfer-handler-16.04.1/src/CMakeLists.txt
--- old/ktp-filetransfer-handler-15.12.3/src/CMakeLists.txt     2016-03-10 
00:25:19.000000000 +0100
+++ new/ktp-filetransfer-handler-16.04.1/src/CMakeLists.txt     2016-04-27 
21:11:25.000000000 +0200
@@ -18,6 +18,7 @@
             KF5::CoreAddons
             KF5::I18n
             KF5::KIOWidgets
+            KF5::KIOFileWidgets
             KF5::ConfigCore
             Qt5::Core
             Qt5::DBus
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/ktp-filetransfer-handler-15.12.3/src/handle-incoming-file-transfer-channel-job.cpp
 
new/ktp-filetransfer-handler-16.04.1/src/handle-incoming-file-transfer-channel-job.cpp
--- 
old/ktp-filetransfer-handler-15.12.3/src/handle-incoming-file-transfer-channel-job.cpp
      2016-03-10 00:25:19.000000000 +0100
+++ 
new/ktp-filetransfer-handler-16.04.1/src/handle-incoming-file-transfer-channel-job.cpp
      2016-04-27 21:11:25.000000000 +0200
@@ -30,6 +30,8 @@
 #include <KLocalizedString>
 #include <kio/renamedialog.h>
 #include <kio/global.h>
+#include <KIOFileWidgets/KFileWidget>
+#include <KIOFileWidgets/KRecentDirs>
 #include <kjobtrackerinterface.h>
 
 #include <TelepathyQt/IncomingFileTransferChannel>
@@ -176,7 +178,15 @@
     }
 
     if (askForDownloadDirectory) {
-        url = QFileDialog::getSaveFileUrl(0, QString(), 
QUrl(QLatin1String("kfiledialog:///FileTransferLastDirectory/") + 
channel->fileName()));
+
+        QString recentDirClass;
+
+        url = QFileDialog::getSaveFileUrl(0, QString(),
+                                          
KFileWidget::getStartUrl(QUrl(QLatin1String("kfiledialog:///FileTransferLastDirectory/")
 + channel->fileName()), recentDirClass));
+
+        if (!recentDirClass.isEmpty()) {
+            KRecentDirs::add(recentDirClass, url.toLocalFile());
+        }
 
         partUrl.setPath(url.path() + QLatin1String(".part"));
         partUrl.setScheme(QLatin1String("file"));


Reply via email to