Revision ee12ed4...

Go back to digest for 12th August 2012

Bug Fixes in KDE Base

Martin Gräßlin committed changes in [kde-workspace/KDE/4.9] /tabbox:

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.


FIXED-IN: 4.9.1
REVIEW: 105935

File Changes

Added 1 files
  • kwin/tabbox/tests/test_tabbox_handler.cpp
Modified 2 files
  • /tabbox
  •   kwinhandler.cpp
  •   kwin/tests/CMakeLists.txt
3 files changed in total