From ba34b15fddcd16b82338a2d88b7aee8a1654af1f Mon Sep 17 00:00:00 2001 From: Nils Schwabe Date: Wed, 19 Mar 2014 17:48:16 +0100 Subject: removed the file and path option for XMLs --- src/sessionsiconholder.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/sessionsiconholder.cpp') diff --git a/src/sessionsiconholder.cpp b/src/sessionsiconholder.cpp index a158773..5f7c590 100644 --- a/src/sessionsiconholder.cpp +++ b/src/sessionsiconholder.cpp @@ -85,7 +85,9 @@ QIcon SessionsIconHolder::getIcon(const QUrl& url) { QString file_path = iconsTempPath + file_name; if (QFile::exists(file_path)) { - qDebug() << "Loaded file from: " << file_path; + if (debugMode) { + qDebug() << "Loaded file from: " << file_path; + } QIcon icon(file_path); icons.insert(url.toString(), icon); return icon; -- cgit v1.2.3-55-g7522