From 42def13b605a7a78cf16d674ad0158e6d69d792b Mon Sep 17 00:00:00 2001 From: Rasmus Karlsson Date: Mon, 15 Jan 2024 23:10:31 +0100 Subject: [PATCH] Remove getPaths() usage from Irc2 --- src/providers/irc/Irc2.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/providers/irc/Irc2.cpp b/src/providers/irc/Irc2.cpp index 25de01ebe..385c76bae 100644 --- a/src/providers/irc/Irc2.cpp +++ b/src/providers/irc/Irc2.cpp @@ -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