From c54eda83aab10a052d8ee494849d10b098d8234b Mon Sep 17 00:00:00 2001 From: Tommi Asp Date: Thu, 22 Jul 2010 12:04:57 +0300 Subject: [PATCH 1/1] updated version to debian/changelog few cosmetic changes to filelistwidget --- cuteexplorer/debian/changelog | 6 ++++++ cuteexplorer/src/filelistwidget.cpp | 9 +++++++-- cuteexplorer/src/src.pro | 6 ++++++ 3 files changed, 19 insertions(+), 2 deletions(-) diff --git a/cuteexplorer/debian/changelog b/cuteexplorer/debian/changelog index 94d2c2b..ed9d277 100644 --- a/cuteexplorer/debian/changelog +++ b/cuteexplorer/debian/changelog @@ -1,3 +1,9 @@ +cuteexplorer (1.2.0-dev) unstable; urgency=low + + * 1.2 dev version + + -- Tommi Asp Thu, 22 Jul 2010 11:56:45 +0300 + cuteexplorer (1.1.1-1) unstable; urgency=low * release for pr 1.2 diff --git a/cuteexplorer/src/filelistwidget.cpp b/cuteexplorer/src/filelistwidget.cpp index f578e7c..7fbc326 100644 --- a/cuteexplorer/src/filelistwidget.cpp +++ b/cuteexplorer/src/filelistwidget.cpp @@ -29,7 +29,7 @@ FileListWidget::FileListWidget(QWidget *parent) : fileSystemModel->setRootPath(currentDir.absolutePath()); fileSystemModel->setFilter(fileSystemModel->filter() | QDir::System); connect(this, SIGNAL(activated(QModelIndex)), this, SLOT(handleItemActivation(QModelIndex))); - + setSelectMode(false); } /** @@ -80,6 +80,7 @@ void FileListWidget::actionRename() .arg(file.fileName()) ,QMessageBox::Ok); } + setSelectMode(false); } /** Selected files will be moved when actionPaste is called @@ -145,6 +146,7 @@ void FileListWidget::actionPaste() } fileSystemModel->setReadOnly(true); this->clearSelection(); + setSelectMode(false); } /** @@ -175,6 +177,7 @@ void FileListWidget::actionDelete() fileSystemModel->setReadOnly(true); this->clearSelection(); } + setSelectMode(false); } /** @@ -197,6 +200,7 @@ void FileListWidget::changePath(QString path) this->clearSelection(); this->setRootIndex(fileSystemModel->index(newPath)); emit pathChanged(newPath); + setSelectMode(false); } /** @@ -233,6 +237,7 @@ void FileListWidget::handleItemActivation(QModelIndex index) #endif } } + setSelectMode(false); } /** @param mode true activates file selection @@ -277,6 +282,6 @@ void FileListWidget::actionSendFiles() tr("Only in maemo5 for now"), QMessageBox::Cancel); #endif - + setSelectMode(false); } diff --git a/cuteexplorer/src/src.pro b/cuteexplorer/src/src.pro index aa4e790..62e6e0c 100644 --- a/cuteexplorer/src/src.pro +++ b/cuteexplorer/src/src.pro @@ -42,3 +42,9 @@ maemo5 { icon.path = $$DATADIR/icons/hicolor/scalable/apps icon.files += $${TARGET}_icon.svg } + +OTHER_FILES += \ + cuteexplorer_icon48.png \ + cuteexplorer_icon.svg \ + cuteexplorer.desktop \ + cuteexplorer_icon64.png -- 1.7.9.5