]> cloud.milkyroute.net Git - dolphin.git/commit
Allow the pasting of a text clipboard content to the URL navigator by pressing the...
authorPeter Penz <peter.penz19@gmail.com>
Sat, 17 Feb 2007 18:25:46 +0000 (18:25 +0000)
committerPeter Penz <peter.penz19@gmail.com>
Sat, 17 Feb 2007 18:25:46 +0000 (18:25 +0000)
commit4bf793794fd3842b857acde4af5db83be3a1f15d
treeb111f951d1c1791063de2f98e93aef5639e9e40d
parent00b23eaa5233666bf7fa04800ae365234b50aed4
Allow the pasting of a text clipboard content to the URL navigator by pressing the middle mouse button. Although this is quite a hidden feature, I think it makes happy a lot of people who just want to paste a URL available as text to the URL navigator without switching from the breadcrump view to the traditional view.

Very nice "side effect": the URL navigator is now completely flicker free when changing URLs because of using the whole available width :-)

TODO: I'm not 100 % sure whether checking the middle mousebutton by 'if (event->button() == Qt::MidButton) { ... }' is the right approach (maybe there is a more generic way to check the 'paste button').

svn path=/trunk/KDE/kdebase/apps/; revision=634595
src/urlnavigator.cpp
src/urlnavigator.h