]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/statusbar/dolphinstatusbar.cpp
Overhaul main view accessibility
[dolphin.git] / src / statusbar / dolphinstatusbar.cpp
index c8369febcf8dd7341a9e04ec3a54bf86fc2be0de..99affde6fa2821d17d161ad042389a1c572327c0 100644 (file)
@@ -53,6 +53,7 @@ DolphinStatusBar::DolphinStatusBar(QWidget *parent)
     // Initialize text label
     m_label = new KSqueezedTextLabel(m_text, contentsContainer);
     m_label->setTextFormat(Qt::PlainText);
+    m_label->setTextInteractionFlags(Qt::TextBrowserInteraction | Qt::TextSelectableByKeyboard); // for accessibility but also to allow copy-pasting this text.
 
     // Initialize zoom slider's explanatory label
     m_zoomLabel = new KSqueezedTextLabel(i18nc("Used as a noun, i.e. 'Here is the zoom level:'", "Zoom:"), contentsContainer);