Don't recreate config group when saving last room

Instead have the group as a member of the room manager
This commit is contained in:
Nicolas Fella
2022-02-07 21:54:46 +01:00
parent 335ef240f5
commit 3b73409b7a
2 changed files with 5 additions and 5 deletions

View File

@@ -4,6 +4,7 @@
#pragma once
#include <KConfig>
#include <KConfigGroup>
#include <QObject>
#include <uriresolver.h>
@@ -104,4 +105,5 @@ private:
NeoChatRoom *m_lastCurrentRoom;
QString m_arg;
KConfig m_config;
KConfigGroup m_lastRoomConfig;
};