summaryrefslogtreecommitdiffstats
path: root/filesystemfileproxy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'filesystemfileproxy.cpp')
-rw-r--r--filesystemfileproxy.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/filesystemfileproxy.cpp b/filesystemfileproxy.cpp
index b45b740..249eeb4 100644
--- a/filesystemfileproxy.cpp
+++ b/filesystemfileproxy.cpp
@@ -11,8 +11,7 @@
#include <QFileInfo>
#include <QDateTime>
#include <QFont>
-
-#include <QDebug>
+#include <QLocale>
#include "filesystemfileproxy.h"
#include "smdirmodel.h"
@@ -21,9 +20,9 @@
FilesystemFileProxy::FilesystemFileProxy(QObject *parent) : QSortFilterProxyModel(parent) {}
QVariant FilesystemFileProxy::data(const QModelIndex &index, int role) const{
- if(!index.isValid()){
+ if(!index.isValid()){
return QVariant();
- }
+ }
SmDirModel *source = qobject_cast<SmDirModel*>(sourceModel());
if(role == Qt::DisplayRole){
QModelIndex real = mapToSource(index);