]> cloud.milkyroute.net Git - dolphin.git/commit
Improve DolphinViewTest_AllViewModes::testKeyboardFocus().
authorFrank Reininghaus <frank78ac@googlemail.com>
Wed, 26 Jan 2011 13:12:49 +0000 (13:12 +0000)
committerFrank Reininghaus <frank78ac@googlemail.com>
Wed, 26 Jan 2011 13:12:49 +0000 (13:12 +0000)
commite85b2ef0ad634e69d8b20ba311027f2efe7359e7
treeebf139ce94fa3f665c6aa8edcf3e29932b945c9d
parent20664d8b723a093b5af359212bf550d63bcac1cb
Improve DolphinViewTest_AllViewModes::testKeyboardFocus().

The test assumes that the view does not have the keyboard focus
initially. However, this may not be the case if this is the only test
to be executed (i.e., if testKeyboardFocus is passed to the test
executable on the command line). This commit transfers the keyboard
focus explicitly to another widget.

svn path=/trunk/KDE/kdebase/apps/; revision=1217251
src/tests/dolphinviewtest_allviewmodes.cpp