diff options
Diffstat (limited to 'shemovcleaner.cpp')
-rw-r--r-- | shemovcleaner.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/shemovcleaner.cpp b/shemovcleaner.cpp index 53cd273..4bc3360 100644 --- a/shemovcleaner.cpp +++ b/shemovcleaner.cpp @@ -70,6 +70,8 @@ ShemovCleaner::ShemovCleaner(QWidget *parent, Qt::WindowFlags f) : QMainWindow(p restoreGeometry(s.value("geometry").toByteArray()); mTorrentTab->torrentFileView()->setFocus(); readSettings(); + mTorrentTab->selectFirst(); + mFileTab->selectFirst(); } ShemovCleaner::~ShemovCleaner(){ @@ -98,11 +100,11 @@ void ShemovCleaner::configure(){ void ShemovCleaner::tabChanged(int idx){ if(idx == Torrents){ - mTorrentTab->fileSelectionChanged(QItemSelection(), QItemSelection()); setDuration("00:00:00"); }else if(idx == Videos){ - mFileTab->fileSelectionChanged(QItemSelection(), QItemSelection()); mFileTab->fileView()->setFocus(); + }else if(idx == Actors){ + mActorTab->actorView()->setFocus(); } } |