From c277eca79a3fbdbfe07d940369d687bafb84eef6 Mon Sep 17 00:00:00 2001 From: Arno Date: Sat, 14 Sep 2013 07:00:38 +0200 Subject: Code cleanup Fix FileView + FilesystemWidget. * Get rid of useless qobject_casts * Remove hover over movies and directories * Fix shortcut for (de-)selecting files --- fileview.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'fileview.h') diff --git a/fileview.h b/fileview.h index aa9244c..65097bd 100644 --- a/fileview.h +++ b/fileview.h @@ -51,8 +51,8 @@ class FileView : public SmTreeView { void selectedFilesChanged(); void properties(); - protected slots: - virtual void closeEditor(QWidget *editor, QAbstractItemDelegate::EndEditHint hint); + protected slots: + virtual void closeEditor(QWidget *editor, QAbstractItemDelegate::EndEditHint hint); protected: virtual void contextMenuEvent(QContextMenuEvent *e); @@ -67,10 +67,7 @@ class FileView : public SmTreeView { QAction *mDeleteA; HoverWindow *mHoverWin; QModelIndex mCurHover; - bool mHoverDirs; - bool mHoverMovies; bool mHoverPics; - QString mWhen; qint16 mCursorOffset; QList mMd5Sums; FilesystemFileProxy *mProxy; -- cgit v1.2.3-70-g09d2