Remove getPaths() usage from Irc2

This commit is contained in:
Rasmus Karlsson 2024-01-15 23:10:31 +01:00
parent 53599a68a9
commit 42def13b60

View file

@ -1,5 +1,6 @@
#include "Irc2.hpp"
#include "Application.hpp"
#include "common/Credentials.hpp"
#include "common/SignalVectorModel.hpp"
#include "providers/irc/IrcChannel2.hpp"
@ -21,7 +22,7 @@ namespace {
QString configPath()
{
return combinePath(getPaths()->settingsDirectory, "irc.json");
return combinePath(getIApp()->getPaths().settingsDirectory, "irc.json");
}
class Model : public SignalVectorModel<IrcServerData>