kwin/tabbox
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
..
qml Properly elide text in large icons TabBox theme 2012-08-17 17:46:42 +02:00
tests Verify QVariant is valid before casting to Client* 2012-08-17 17:48:15 +02:00
clientmodel.cpp Verify pointer is valid when calculating the longest caption 2012-07-22 19:23:36 +02:00
clientmodel.h Use smart pointers to protect access to TabBoxClient 2012-05-22 18:37:41 +02:00
CMakeLists.txt Verify pointer is valid when calculating the longest caption 2012-07-22 19:23:36 +02:00
declarative.cpp Add CMake variable to rename kwin binaries 2012-05-10 10:25:15 +02:00
declarative.h Add proper key navigation to layout based window switchers 2012-03-25 11:55:35 +02:00
desktopmodel.cpp
desktopmodel.h
kwinwindowswitcher.desktop SVN_SILENT made messages (.desktop file) 2012-08-10 17:29:15 +02:00
tabbox.cpp Use smart pointers to protect access to TabBoxClient 2012-05-22 18:37:41 +02:00
tabbox.h Use smart pointers to protect access to TabBoxClient 2012-05-22 18:37:41 +02:00
tabboxconfig.cpp Fix tabboxconfig copy operator 2012-08-11 21:41:54 +02:00
tabboxconfig.h Show windows from all screen in TabBox by default 2012-03-30 22:16:24 +02:00
tabboxhandler.cpp Verify QVariant is valid before casting to Client* 2012-08-17 17:48:15 +02:00
tabboxhandler.h Use smart pointers to protect access to TabBoxClient 2012-05-22 18:37:41 +02:00