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

@ -47,7 +47,7 @@
#include <minecraft/MinecraftVersion.h>
#include <minecraft/MinecraftVersionList.h>
#include "icons/IconList.h"
#include "Exception.h"
QIcon VersionPage::icon() const
{
@ -118,7 +118,7 @@ bool VersionPage::reloadMinecraftProfile()
m_inst->reloadProfile();
return true;
}
catch (MMCError &e)
catch (Exception &e)
{
QMessageBox::critical(this, tr("Error"), e.cause());
return false;
@ -199,7 +199,7 @@ void VersionPage::on_resetOrderBtn_clicked()
{
m_version->resetOrder();
}
catch (MMCError &e)
catch (Exception &e)
{
QMessageBox::critical(this, tr("Error"), e.cause());
}
@ -212,7 +212,7 @@ void VersionPage::on_moveUpBtn_clicked()
{
m_version->move(currentRow(), MinecraftProfile::MoveUp);
}
catch (MMCError &e)
catch (Exception &e)
{
QMessageBox::critical(this, tr("Error"), e.cause());
}
@ -225,7 +225,7 @@ void VersionPage::on_moveDownBtn_clicked()
{
m_version->move(currentRow(), MinecraftProfile::MoveDown);
}
catch (MMCError &e)
catch (Exception &e)
{
QMessageBox::critical(this, tr("Error"), e.cause());
}

View File

@ -21,7 +21,7 @@
#include "pages/BasePage.h"
#include "auth/MojangAccountList.h"
#include <MultiMC.h>
#include "MultiMC.h"
namespace Ui
{