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 {
|
namespace chatterino {
|
||||||
|
|
||||||
Paths *Paths::instance = nullptr;
|
|
||||||
|
|
||||||
Paths::Paths()
|
Paths::Paths()
|
||||||
{
|
{
|
||||||
this->instance = this;
|
|
||||||
|
|
||||||
this->initAppFilePathHash();
|
this->initAppFilePathHash();
|
||||||
|
|
||||||
this->initCheckPortable();
|
this->initCheckPortable();
|
||||||
|
@ -146,9 +142,4 @@ void Paths::initSubDirectories()
|
||||||
this->crashdumpDirectory = makePath("Crashes");
|
this->crashdumpDirectory = makePath("Crashes");
|
||||||
}
|
}
|
||||||
|
|
||||||
Paths *getPaths()
|
|
||||||
{
|
|
||||||
return Paths::instance;
|
|
||||||
}
|
|
||||||
|
|
||||||
} // namespace chatterino
|
} // namespace chatterino
|
||||||
|
|
|
@ -9,8 +9,6 @@ namespace chatterino {
|
||||||
class Paths
|
class Paths
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
static Paths *instance;
|
|
||||||
|
|
||||||
Paths();
|
Paths();
|
||||||
|
|
||||||
// Root directory for the configuration files. %APPDATA%/chatterino or
|
// Root directory for the configuration files. %APPDATA%/chatterino or
|
||||||
|
@ -59,6 +57,4 @@ private:
|
||||||
QString cacheDirectory_;
|
QString cacheDirectory_;
|
||||||
};
|
};
|
||||||
|
|
||||||
Paths *getPaths();
|
|
||||||
|
|
||||||
} // namespace chatterino
|
} // namespace chatterino
|
||||||
|
|
Loading…
Reference in a new issue