kwin/tabbox/tests
Martin Gräßlin 83b9cb6697 Verify QVariant is valid before casting to Client*
If the ClientModel does not contain any Clients, which can
happen if there is no desktop window, accessing the data of a
ModelIndex returns an invalid QVariant. Because of that it
needs to be ensured that the QVariant is valid before trying to
cast it to a Client Pointer.

BUG: 304620
FIXED-IN: 4.9.1
REVIEW: 105935
2012-08-17 17:48:15 +02:00
..
CMakeLists.txt Verify QVariant is valid before casting to Client* 2012-08-17 17:48:15 +02:00
mock_declarative.cpp
mock_tabboxclient.cpp
mock_tabboxclient.h
mock_tabboxhandler.cpp
mock_tabboxhandler.h
test_tabbox_clientmodel.cpp
test_tabbox_clientmodel.h
test_tabbox_handler.cpp Verify QVariant is valid before casting to Client* 2012-08-17 17:48:15 +02:00