Commit 9282d20d authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇

[KEditFileType] Make heading with mime type selectable

Allows to copy the mime type displayed to clipboard

Differential Revision: https://phabricator.kde.org/D18767
parent e7bd2fa2
......@@ -53,6 +53,7 @@ FileTypeDetails::FileTypeDetails( QWidget * parent )
topLayout->setContentsMargins(0, 0, 0, 0);
m_mimeTypeLabel = new QLabel(this);
m_mimeTypeLabel->setTextInteractionFlags(Qt::TextSelectableByMouse);
topLayout->addWidget(m_mimeTypeLabel, 0, Qt::AlignCenter);
m_tabWidget = new QTabWidget(this);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment