From 1d8f4f0bfd8826d33c2e8454029924a25992d1d6 Mon Sep 17 00:00:00 2001 From: tobtoht Date: Sat, 12 Dec 2020 15:54:43 +0100 Subject: [PATCH] Remove sorry() --- src/appcontext.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/appcontext.cpp b/src/appcontext.cpp index ddbad36..a4a6304 100644 --- a/src/appcontext.cpp +++ b/src/appcontext.cpp @@ -96,7 +96,6 @@ AppContext::AppContext(QCommandLineParser *cmdargs) { if(!this->configDirectory.endsWith('/')) this->configDirectory = QString("%1/").arg(this->configDirectory); #endif - this->sorry(); // Config createConfigDirectory(this->configDirectory); @@ -680,15 +679,6 @@ void AppContext::donateBeg() { 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() { this->walletClose(false); }