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()));
void BrowseMainWindow::showHomeFolder() {
browseDirectory(AppSettings::getHomeDirectory().path);
}
+void BrowseMainWindow::showUserHomeFolder() {
+ browseDirectory("~/");
+}
void BrowseMainWindow::setHomeFolder() {
if (0 < mCurrentDir.length()) {
VlcDirectory dir;