[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: =?utf-8?q?=5Bamarok=5D_src/widgets=3A_Automatically_focus_droppe?=
From: Ralf Engels <ralf-engels () gmx ! de>
Date: 2011-01-31 23:21:04
Message-ID: 20110131232104.2B2AEA60B0 () git ! kde ! org
[Download RAW message or body]
Git commit da76482302aebbf0a31f04a1bcab9965f6b6372b by Ralf Engels.
Pushed by rengels into branch 'master'.
Automatically focus dropped tokens in EditFilterDialog
M +2 -0 src/widgets/TokenDropTarget.cpp
http://commits.kde.org/amarok/da76482302aebbf0a31f04a1bcab9965f6b6372b
diff --git a/src/widgets/TokenDropTarget.cpp b/src/widgets/TokenDropTarget.cpp
index 97d9ace..31031e1 100644
--- a/src/widgets/TokenDropTarget.cpp
+++ b/src/widgets/TokenDropTarget.cpp
@@ -305,6 +305,8 @@ TokenDropTarget::drop( Token *token, const QPoint &pos )
token->show();
update(); // count changed
emit changed();
+
+ token->setFocus( Qt::OtherFocusReason ); // select the new token right away
}
bool
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic