Remove 'Go Back' from context menu
This commit is contained in:
committed by
craig.p.drummond
parent
de058b2417
commit
bd4ee119ae
@@ -100,6 +100,7 @@
|
||||
62. Use a toolbutton for listview header and back action.
|
||||
63. Add 'List' to playqueue view types.
|
||||
64. Add 'Locate In Library' to search page.
|
||||
65. Remove 'Go Back' from lsitview context menu.
|
||||
|
||||
1.3.4
|
||||
-----
|
||||
|
||||
@@ -83,7 +83,6 @@ SearchPage::SearchPage(QWidget *p)
|
||||
view->setPermanentSearch();
|
||||
setSearchCategories();
|
||||
view->setSearchCategory(Settings::self()->searchCategory());
|
||||
view->hideBackAction();
|
||||
statsUpdated(0, 0);
|
||||
}
|
||||
|
||||
|
||||
@@ -616,8 +616,6 @@ ItemView::ItemView(QWidget *p)
|
||||
backButton->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
|
||||
backButton->setStyle(new BackButtonProxyStyle());
|
||||
Action::updateToolTip(backAction);
|
||||
listView->addAction(backAction);
|
||||
listView->addDefaultAction(backAction);
|
||||
QAction *sep=new QAction(this);
|
||||
sep->setSeparator(true);
|
||||
listView->addAction(sep);
|
||||
@@ -1155,11 +1153,6 @@ void ItemView::setSearchCategory(const QString &id)
|
||||
searchWidget->setCategory(id);
|
||||
}
|
||||
|
||||
void ItemView::hideBackAction()
|
||||
{
|
||||
listView->removeAction(backAction);
|
||||
}
|
||||
|
||||
void ItemView::showEvent(QShowEvent *ev)
|
||||
{
|
||||
QWidget::showEvent(ev);
|
||||
|
||||
@@ -181,7 +181,6 @@ public:
|
||||
void setSearchCategory(const QString &id);
|
||||
void setSearchResetLevel(int l) { searchResetLevel=l; }
|
||||
void setSearchIndex(const QModelIndex &idx) { searchIndex=idx; }
|
||||
void hideBackAction();
|
||||
void showEvent(QShowEvent *ev);
|
||||
void goToTop();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user