From b6a85b8b76a4e86783c4c83048918d30bb36bdb8 Mon Sep 17 00:00:00 2001 From: am Date: Thu, 9 Jul 2009 15:29:14 +0000 Subject: -added statusbar and no. of selected files git-svn-id: file:///var/svn/repos2/shemov/trunk@381 f440f766-f032-0410-8965-dc7d17de2ca0 --- filesystemwidget.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'filesystemwidget.cpp') 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)); -- cgit v1.2.3-70-g09d2