diff options
author | Slávek Banko <[email protected]> | 2016-03-24 16:36:54 +0100 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2016-03-24 16:36:54 +0100 |
commit | 491c2e4503b23c701f07792b1ecfc01ab68802d4 (patch) | |
tree | dea78430fa79b0a1d37a4ac429e541470cf997f3 /tdeio | |
parent | 04255418ecbedc1a7e712999d481742f4196b0af (diff) | |
download | tdelibs-491c2e4503b23c701f07792b1ecfc01ab68802d4.tar.gz tdelibs-491c2e4503b23c701f07792b1ecfc01ab68802d4.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 <[email protected]>
Diffstat (limited to 'tdeio')
-rw-r--r-- | tdeio/tdeio/kurifilter.cpp | 4 | ||||
-rw-r--r-- | tdeio/tdeio/tdefileitem.cpp | 2 |
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"); |