mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
remove getPaths()
This commit is contained in:
parent
c98d54812c
commit
b258187912
2 changed files with 0 additions and 13 deletions
|
@ -15,12 +15,8 @@ using namespace std::literals;
|
|||
|
||||
namespace chatterino {
|
||||
|
||||
Paths *Paths::instance = nullptr;
|
||||
|
||||
Paths::Paths()
|
||||
{
|
||||
this->instance = this;
|
||||
|
||||
this->initAppFilePathHash();
|
||||
|
||||
this->initCheckPortable();
|
||||
|
@ -146,9 +142,4 @@ void Paths::initSubDirectories()
|
|||
this->crashdumpDirectory = makePath("Crashes");
|
||||
}
|
||||
|
||||
Paths *getPaths()
|
||||
{
|
||||
return Paths::instance;
|
||||
}
|
||||
|
||||
} // namespace chatterino
|
||||
|
|
|
@ -9,8 +9,6 @@ namespace chatterino {
|
|||
class Paths
|
||||
{
|
||||
public:
|
||||
static Paths *instance;
|
||||
|
||||
Paths();
|
||||
|
||||
// Root directory for the configuration files. %APPDATA%/chatterino or
|
||||
|
@ -59,6 +57,4 @@ private:
|
|||
QString cacheDirectory_;
|
||||
};
|
||||
|
||||
Paths *getPaths();
|
||||
|
||||
} // namespace chatterino
|
||||
|
|
Loading…
Reference in a new issue