git.videolan.org
/
vlc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb2e79b
)
Qt4 - allow the nameLabel to be selectable by mouse or keyboard in order to copy...
author
Jean-Baptiste Kempf
<jb@videolan.org>
Wed, 24 Oct 2007 04:32:44 +0000
(
04:32
+0000)
committer
Jean-Baptiste Kempf
<jb@videolan.org>
Wed, 24 Oct 2007 04:32:44 +0000
(
04:32
+0000)
Supposed to be useful.
modules/gui/qt4/main_interface.cpp
patch
|
blob
|
history
diff --git
a/modules/gui/qt4/main_interface.cpp
b/modules/gui/qt4/main_interface.cpp
index
5cb24e1
..
47332a5
100644
(file)
--- a/
modules/gui/qt4/main_interface.cpp
+++ b/
modules/gui/qt4/main_interface.cpp
@@
-144,6
+144,8
@@
MainInterface::MainInterface( intf_thread_t *_p_intf ) : QVLCMW( _p_intf )
b_remainingTime = false;
timeLabel = new TimeLabel;
nameLabel = new QLabel;
+ nameLabel->setTextInteractionFlags( Qt::TextSelectableByMouse
+ | Qt::TextSelectableByKeyboard );
speedLabel = new QLabel( "1.00x" );
speedLabel->setContextMenuPolicy ( Qt::CustomContextMenu );