- // Open the popup and adjust the settings for the
- // selected action.
- QAction* action = popup.exec(QCursor::pos());
- if (action == 0) {
- return;
- }
-
- const bool isChecked = action->isChecked();
- if (action == previewAction) {
- m_preview->setVisible(isChecked);
- InformationPanelSettings::setShowPreview(isChecked);
- } else if (action == configureAction) {
- // TODO:
- //QPointer<KFileMetaDataConfigurationDialog> dialog =
- // new KFileMetaDataConfigurationDialog(this);
- //dialog->setDescription(i18nc("@label::textbox",
- // "Configure which data should be shown in the Information Panel."));
- //dialog->setItems(m_metaDataWidget->items());
- //dialog->exec();
- //delete dialog;