From 1ff74854ecb4e5c9a2099759b71c378225c9e988 Mon Sep 17 00:00:00 2001 From: Méven Car Date: Sun, 17 Mar 2019 17:24:30 +0100 Subject: Fix a todo: InformationPanelContent::configureSettings code is moved to InformationPanel::contextMenuEvent Summary: Fix a TODO : InformationPanelContent::configureSettings code is moved to InformationPanel::contextMenuEvent Adding necessary accessors and changing visibility of one slot. Test Plan: 1 compile 2 in dolphin right on the information panel 3 toggle preview 4 from the same context menu, click configure, metadadata settings appears 5 toggle "condensed date" if available Reviewers: elvisangelaccio, #dolphin Reviewed By: elvisangelaccio, #dolphin Subscribers: kfm-devel Tags: #dolphin Differential Revision: https://phabricator.kde.org/D19832 --- src/panels/information/informationpanel.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/panels/information/informationpanel.h') diff --git a/src/panels/information/informationpanel.h b/src/panels/information/informationpanel.h index 1eea8fcd2..05947145d 100644 --- a/src/panels/information/informationpanel.h +++ b/src/panels/information/informationpanel.h @@ -128,6 +128,12 @@ private: */ void markUrlAsInvalid(); + /** + * Opens a menu which allows to configure which meta information + * should be shown. + */ + void showContextMenu(const QPoint &point); + void init(); private: -- cgit v1.3