NOISSUE Various changes from multiauth that are unrelated to it

This commit is contained in:
Jan Dalheimer 2015-05-28 19:38:29 +02:00 committed by Petr Mrázek
parent 161dc66c2c
commit 3a8b238052
65 changed files with 2661 additions and 333 deletions

View file

@ -17,12 +17,13 @@
#include <QDir>
#include <QJsonDocument>
#include <QJsonArray>
#include <QDebug>
#include <pathutils.h>
#include "minecraft/MinecraftProfile.h"
#include "ProfileUtils.h"
#include "NullProfileStrategy.h"
#include "VersionBuildError.h"
#include "Exception.h"
MinecraftProfile::MinecraftProfile(ProfileStrategy *strategy)
: QAbstractListModel()
@ -277,7 +278,7 @@ std::shared_ptr<MinecraftProfile> MinecraftProfile::fromJson(const QJsonObject &
file->applyTo(version.get());
version->appendPatch(file);
}
catch(MMCError & err)
catch(Exception &err)
{
return 0;
}
@ -424,7 +425,7 @@ bool MinecraftProfile::reapplySafe()
{
reapply();
}
catch(MMCError & error)
catch (Exception & error)
{
clear();
qWarning() << "Couldn't apply profile patches because: " << error.cause();