[SCM] ktp-text-ui packaging branch, master, updated. debian/15.12.1-1-1918-gdf4b0ec

Maximiliano Curia maxy at moszumanska.debian.org
Sat May 28 00:25:01 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-text-ui.git;a=commitdiff;h=343b67f

The following commit has been merged in the master branch:
commit 343b67f7ae9c039d5da9e89cdc6d5a46b6221325
Author: Aleix Pol <aleixpol at kde.org>
Date:   Fri Dec 5 19:05:58 2014 +0100

    Warn if path couldn't be opened
---
 image-sharer/mpform.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/image-sharer/mpform.cpp b/image-sharer/mpform.cpp
index fee4b7d..61c8399 100644
--- a/image-sharer/mpform.cpp
+++ b/image-sharer/mpform.cpp
@@ -30,6 +30,7 @@
 #include <QUrl>
 #include <QFileInfo>
 #include <QMimeDatabase>
+#include <QDebug>
 
 // KDE includes
 
@@ -112,6 +113,7 @@ bool MPForm::addFile(const QString& name, const QString& path)
 
     if (!imageFile.open(QIODevice::ReadOnly))
     {
+        qWarning() << "Couldn't open" << path;
         return false;
     }
 

-- 
ktp-text-ui packaging



More information about the pkg-kde-commits mailing list