summaryrefslogtreecommitdiffstats
path: root/filesystemwidget.cpp
diff options
context:
space:
mode:
authoram <am@f440f766-f032-0410-8965-dc7d17de2ca0>2009-07-09 15:29:14 +0000
committeram <am@f440f766-f032-0410-8965-dc7d17de2ca0>2009-07-09 15:29:14 +0000
commitb6a85b8b76a4e86783c4c83048918d30bb36bdb8 (patch)
tree8e08b0c11d213ce0f41e235adc9c5cc5a13442ec /filesystemwidget.cpp
parenta12045635b23c80e3dd9f51212c6ea89c240b94e (diff)
downloadSheMov-b6a85b8b76a4e86783c4c83048918d30bb36bdb8.tar.gz
SheMov-b6a85b8b76a4e86783c4c83048918d30bb36bdb8.tar.bz2
SheMov-b6a85b8b76a4e86783c4c83048918d30bb36bdb8.zip
-added statusbar and no. of selected files
git-svn-id: file:///var/svn/repos2/shemov/trunk@381 f440f766-f032-0410-8965-dc7d17de2ca0
Diffstat (limited to 'filesystemwidget.cpp')
-rw-r--r--filesystemwidget.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/filesystemwidget.cpp b/filesystemwidget.cpp
index 6d711ce..24e769b 100644
--- a/filesystemwidget.cpp
+++ b/filesystemwidget.cpp
@@ -70,6 +70,7 @@ FilesystemWidget::FilesystemWidget(QWidget *parent) : QWidget(parent) {
connect(mDirView->selectionModel(), SIGNAL(currentChanged(const QModelIndex &, const QModelIndex &)), this, SLOT(directoryChanged(const QModelIndex &, const QModelIndex &)));
connect(mFileView, SIGNAL(activated(const QModelIndex &)), this, SLOT(fileViewActivated(const QModelIndex &)));
connect(mFileView, SIGNAL(upDir()), this, SLOT(parentDir()));
+ //connect(mFileView, SIGNAL(show()), this, SLOT(showItem()));
connect(mDirEdit, SIGNAL(returnPressed()), this, SLOT(directoryEdited()));
QSettings s;
@@ -123,6 +124,7 @@ void FilesystemWidget::directoryEdited(){
}
void FilesystemWidget::fileViewActivated(const QModelIndex &idx){
+ qDebug() << "trying to activate elem";
QModelIndex real = mFileProxy->mapToSource(idx);
if(mModel->isDir(real)){
mDirView->setCurrentIndex(mDirProxy->mapFromSource(real));