From 1b1e48aa11c4518e100004dac594540e6024fa68 Mon Sep 17 00:00:00 2001 From: am Date: Thu, 16 Jul 2009 19:34:57 +0000 Subject: -Fixed extractor... Just look at the examples for QProcess :) -Beautified extractor output for unrar -Added User interface configuration options -So, there are Usability fixes git-svn-id: file:///var/svn/repos2/shemov/trunk@388 f440f766-f032-0410-8965-dc7d17de2ca0 --- shemoviconprovider.cpp | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'shemoviconprovider.cpp') diff --git a/shemoviconprovider.cpp b/shemoviconprovider.cpp index ed3febb..daea4c0 100644 --- a/shemoviconprovider.cpp +++ b/shemoviconprovider.cpp @@ -7,6 +7,7 @@ #include #include +#include #include "shemoviconprovider.h" #include "helper.h" @@ -14,9 +15,13 @@ SheMovIconProvider::SheMovIconProvider() {}; QIcon SheMovIconProvider::icon(const QFileInfo &info) const { - /*if(info.isDir()){ - return QIcon(":/dildo.png"); - }*/ + if(info.isDir()){ + QSettings s; + QString fi(s.value("ui/foldericon").toString()); + if(fi == "Dildo"){ + return QIcon(":/dildo.png"); + } + } QString type = Helper::mimeType(info.absoluteFilePath()); if(type.toLower().startsWith("video")){ return QIcon(":/movie.svg"); -- cgit v1.2.3-70-g09d2