mirror of
https://git.wownero.com/wowlet/wowlet.git
synced 2024-08-15 01:03:14 +00:00
Merge pull request 'Remove sorry()' (#207) from tobtoht/feather:no_sorry into master
Reviewed-on: https://git.wownero.com/feather/feather/pulls/207
This commit is contained in:
commit
a0a307f3bd
1 changed files with 0 additions and 10 deletions
|
@ -96,7 +96,6 @@ AppContext::AppContext(QCommandLineParser *cmdargs) {
|
||||||
if(!this->configDirectory.endsWith('/'))
|
if(!this->configDirectory.endsWith('/'))
|
||||||
this->configDirectory = QString("%1/").arg(this->configDirectory);
|
this->configDirectory = QString("%1/").arg(this->configDirectory);
|
||||||
#endif
|
#endif
|
||||||
this->sorry();
|
|
||||||
|
|
||||||
// Config
|
// Config
|
||||||
createConfigDirectory(this->configDirectory);
|
createConfigDirectory(this->configDirectory);
|
||||||
|
@ -680,15 +679,6 @@ void AppContext::donateBeg() {
|
||||||
config()->set(Config::donateBeg, donationCounter);
|
config()->set(Config::donateBeg, donationCounter);
|
||||||
}
|
}
|
||||||
|
|
||||||
void AppContext::sorry() {
|
|
||||||
auto msg = "Unable to start Feather, error code 0xd34db33f. If this problem "
|
|
||||||
"persists, please contact Technical Support.";
|
|
||||||
QStringList paths = {"C:\\ProgramData\\ryo", this->homeDir + "/.ryo"};
|
|
||||||
for(const QString &ryo: paths)
|
|
||||||
if(Utils::dirExists(ryo))
|
|
||||||
throw std::runtime_error(msg);
|
|
||||||
}
|
|
||||||
|
|
||||||
AppContext::~AppContext() {
|
AppContext::~AppContext() {
|
||||||
this->walletClose(false);
|
this->walletClose(false);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue