X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=browsemainwindow.cpp;h=13a85e47e167591b647edbc989a5bd89ba6d5196;hb=b398a321395750e43a828766ffa21ffa0089a7c0;hp=2c7582f29ef73f33beeb3e4f343c6023c962b27d;hpb=da1f6df7457019233d1f59c72e8933646e093af6;p=vlc-remote diff --git a/browsemainwindow.cpp b/browsemainwindow.cpp index 2c7582f..13a85e4 100644 --- a/browsemainwindow.cpp +++ b/browsemainwindow.cpp @@ -55,6 +55,7 @@ BrowseMainWindow::BrowseMainWindow(QWidget *parent) : connect(ui->playButton,SIGNAL(clicked()),this,SLOT(onPlay())); connect(ui->listWidget, SIGNAL(itemSelectionChanged()), this, SLOT(onListSelectionChanged())); + connect(ui->actionGoUserHome, SIGNAL(triggered()), this, SLOT(showUserHomeFolder())); connect(ui->actionGoHome, SIGNAL(triggered()), this, SLOT(showHomeFolder())); connect(ui->actionSetHome, SIGNAL(triggered()), this, SLOT(setHomeFolder())); connect(ui->actionViewFavourites, SIGNAL(triggered()), this, SLOT(showFavourites())); @@ -98,6 +99,9 @@ void BrowseMainWindow::changeEvent(QEvent *e) void BrowseMainWindow::showHomeFolder() { browseDirectory(AppSettings::getHomeDirectory().path); } +void BrowseMainWindow::showUserHomeFolder() { + browseDirectory("~/"); +} void BrowseMainWindow::setHomeFolder() { if (0 < mCurrentDir.length()) { VlcDirectory dir;