Do not use K_GLOBAL_STATIC for a QObject-based class.
This fixes two things: 1. One should never create global static QObjects 2. global static creation is not thread-safe for complex classes. BUG: 275880
Showing
- services/fileindexer/fileindexer.cpp 4 additions, 0 deletionsservices/fileindexer/fileindexer.cpp
- services/fileindexer/fileindexerconfig.cpp 8 additions, 4 deletionsservices/fileindexer/fileindexerconfig.cpp
- services/fileindexer/fileindexerconfig.h 11 additions, 2 deletionsservices/fileindexer/fileindexerconfig.h
- services/filewatch/nepomukfilewatch.cpp 4 additions, 0 deletionsservices/filewatch/nepomukfilewatch.cpp
Loading
Please register or sign in to comment