Commit 1d601d4c authored by akiraohgaki's avatar akiraohgaki
Browse files

Error handling

parent d37890f9
......@@ -39,16 +39,20 @@ QString AppImageUpdater::errorString() const
QString AppImageUpdater::describeAppImage() const
std::string description = "";
return QString::fromStdString(description);
std::string description;
if (updater_->describeAppImage(description)) {
return QString::fromStdString(description);
return QString();
bool AppImageUpdater::checkForChanges() const
bool updateAvailable = false;
return updateAvailable;
bool updateAvailable;
if (updater_->checkForChanges(updateAvailable)) {
return updateAvailable;
return false;
void AppImageUpdater::start()
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment