Don't segfault on shutdown
Use the current QPalette for user color instead of getting the platform theme from QML, which caused segfaults.
This commit is contained in:
@@ -5,14 +5,8 @@
|
||||
|
||||
#include <QObject>
|
||||
|
||||
#include "room.h"
|
||||
#include "user.h"
|
||||
|
||||
namespace Kirigami
|
||||
{
|
||||
class PlatformTheme;
|
||||
}
|
||||
|
||||
using namespace Quotient;
|
||||
|
||||
class NeoChatUser : public User
|
||||
|
||||
Reference in New Issue
Block a user