summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2016-03-24 16:36:54 +0100
committerSlávek Banko <slavek.banko@axis.cz>2016-03-24 16:37:06 +0100
commit29bb34d2ff1ea8593b6ea132b7b63ca9228ab357 (patch)
tree83c6b2edf01ccaa64b23ed4ce62a401d1fc795a3
parente7ba529948745941cbbfaa3731d76d3346c863ec (diff)
downloadtdelibs-29bb34d2ff1ea8593b6ea132b7b63ca9228ab357.tar.gz
tdelibs-29bb34d2ff1ea8593b6ea132b7b63ca9228ab357.zip
Remove warnings about missing embedded ELF icons
Add file name for which the issue occurs into debug message Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 491c2e4503b23c701f07792b1ecfc01ab68802d4)
-rw-r--r--tdeio/tdeio/kurifilter.cpp4
-rw-r--r--tdeio/tdeio/tdefileitem.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/tdeio/tdeio/kurifilter.cpp b/tdeio/tdeio/kurifilter.cpp
index 3d79d0bfd..6ae0017be 100644
--- a/tdeio/tdeio/kurifilter.cpp
+++ b/tdeio/tdeio/kurifilter.cpp
@@ -217,7 +217,7 @@ TQString KURIFilterData::iconName()
if((handle = libr_open(const_cast<char*>(m_pURI.path().ascii()), access)) == NULL)
{
- kdWarning() << "failed to open file" << m_pURI.path() << endl;
+ kdWarning() << "failed to open file " << m_pURI.path() << endl;
libr_can_continue = 0;
}
@@ -234,7 +234,7 @@ TQString KURIFilterData::iconName()
if(!get_iconlist(handle, &icons))
{
// Failed to obtain a list of ELF icons
- kdWarning() << "failed to obtain ELF icon: " << libr_errmsg() << endl;
+ kdDebug() << "failed to obtain ELF icon from " << m_pURI.path() << ": " << libr_errmsg() << endl;
// See if there is a system icon we can use
TQString sysIconName = elf_get_resource(handle, ".metadata_sysicon");
diff --git a/tdeio/tdeio/tdefileitem.cpp b/tdeio/tdeio/tdefileitem.cpp
index 8ef5072ce..b852fa35d 100644
--- a/tdeio/tdeio/tdefileitem.cpp
+++ b/tdeio/tdeio/tdefileitem.cpp
@@ -730,7 +730,7 @@ TQPixmap KFileItem::pixmap( int _size, int _state ) const
if(!get_iconlist(handle, &icons))
{
// Failed to obtain a list of ELF icons
- kdWarning() << "failed to obtain ELF icon: " << libr_errmsg() << endl;
+ kdDebug() << "failed to obtain ELF icon from " << url.path() << ": " << libr_errmsg() << endl;
// See if there is a system icon we can use
TQString sysIconName = elf_get_resource(handle, ".metadata_sysicon");