Update the changelog, version, scale the instance icon
This commit is contained in:
parent
130a790807
commit
3a3c9ac951
@ -92,8 +92,8 @@ SET(MultiMC_NEWS_RSS_URL "http://multimc.org/rss.xml" CACHE STRING "URL to fetch
|
|||||||
|
|
||||||
######## Set version numbers ########
|
######## Set version numbers ########
|
||||||
SET(MultiMC_VERSION_MAJOR 0)
|
SET(MultiMC_VERSION_MAJOR 0)
|
||||||
SET(MultiMC_VERSION_MINOR 1)
|
SET(MultiMC_VERSION_MINOR 2)
|
||||||
SET(MultiMC_VERSION_HOTFIX 1)
|
SET(MultiMC_VERSION_HOTFIX 0)
|
||||||
|
|
||||||
# Build number
|
# Build number
|
||||||
SET(MultiMC_VERSION_BUILD -1 CACHE STRING "Build number. -1 for no build number.")
|
SET(MultiMC_VERSION_BUILD -1 CACHE STRING "Build number. -1 for no build number.")
|
||||||
|
@ -16,4 +16,16 @@
|
|||||||
- Added additional information to the about dialog.
|
- Added additional information to the about dialog.
|
||||||
0.1.1:
|
0.1.1:
|
||||||
- Hotfix - Changed the issue tracker URL to [GitHub issues](https://github.com/MultiMC/MultiMC5/issues).
|
- Hotfix - Changed the issue tracker URL to [GitHub issues](https://github.com/MultiMC/MultiMC5/issues).
|
||||||
|
0.2:
|
||||||
|
- Java memory settings have MB added to the number to make the units obvious.
|
||||||
|
- Complete rework of the launcher part. No more sensitive information in the process arguments.
|
||||||
|
- Cached downloads now do not destroy files on failure.
|
||||||
|
- Mojang service status is now on the MultiMC status bar.
|
||||||
|
- Java checker is no longer needed/used on instance launch.
|
||||||
|
- Support for private FTB packs.
|
||||||
|
- Fixed instance ID issues related to copying FTB packs without changing the instance name.
|
||||||
|
- Forge versions are better sorted (build numbers above 999 were sorted wrong).
|
||||||
|
- Fixed crash related to the MultiMC update channel picker in offline mode.
|
||||||
|
- Started using icon themes for the application icons, fixing many OSX graphical glitches.
|
||||||
|
- Icon sources have been located, along with icon licenses.
|
||||||
|
- Update to the German translation.
|
||||||
|
@ -830,7 +830,7 @@ void MainWindow::on_actionChangeInstIcon_triggered()
|
|||||||
if (dlg.result() == QDialog::Accepted)
|
if (dlg.result() == QDialog::Accepted)
|
||||||
{
|
{
|
||||||
m_selectedInstance->setIconKey(dlg.selectedIconKey);
|
m_selectedInstance->setIconKey(dlg.selectedIconKey);
|
||||||
auto ico = MMC->icons()->getIcon(dlg.selectedIconKey);
|
auto ico = MMC->icons()->getBigIcon(dlg.selectedIconKey);
|
||||||
ui->actionChangeInstIcon->setIcon(ico);
|
ui->actionChangeInstIcon->setIcon(ico);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -839,14 +839,14 @@ void MainWindow::iconUpdated(QString icon)
|
|||||||
{
|
{
|
||||||
if(icon == m_currentInstIcon)
|
if(icon == m_currentInstIcon)
|
||||||
{
|
{
|
||||||
ui->actionChangeInstIcon->setIcon(MMC->icons()->getIcon(m_currentInstIcon));
|
ui->actionChangeInstIcon->setIcon(MMC->icons()->getBigIcon(m_currentInstIcon));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::updateInstanceToolIcon(QString new_icon)
|
void MainWindow::updateInstanceToolIcon(QString new_icon)
|
||||||
{
|
{
|
||||||
m_currentInstIcon = new_icon;
|
m_currentInstIcon = new_icon;
|
||||||
ui->actionChangeInstIcon->setIcon(MMC->icons()->getIcon(m_currentInstIcon));
|
ui->actionChangeInstIcon->setIcon(MMC->icons()->getBigIcon(m_currentInstIcon));
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::setSelectedInstanceById(const QString &id)
|
void MainWindow::setSelectedInstanceById(const QString &id)
|
||||||
|
@ -336,6 +336,23 @@ QIcon IconList::getIcon(QString key)
|
|||||||
return QIcon();
|
return QIcon();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QIcon IconList::getBigIcon(QString key)
|
||||||
|
{
|
||||||
|
int icon_index = getIconIndex(key);
|
||||||
|
|
||||||
|
if (icon_index == -1)
|
||||||
|
key = "infinity";
|
||||||
|
|
||||||
|
// Fallback for icons that don't exist.
|
||||||
|
icon_index = getIconIndex(key);
|
||||||
|
|
||||||
|
if (icon_index == -1)
|
||||||
|
return QIcon();
|
||||||
|
|
||||||
|
QPixmap bigone = icons[icon_index].icon().pixmap(256,256).scaled(256,256);
|
||||||
|
return QIcon(bigone);
|
||||||
|
}
|
||||||
|
|
||||||
int IconList::getIconIndex(QString key)
|
int IconList::getIconIndex(QString key)
|
||||||
{
|
{
|
||||||
if (key == "default")
|
if (key == "default")
|
||||||
|
@ -34,6 +34,7 @@ public:
|
|||||||
virtual ~IconList() {};
|
virtual ~IconList() {};
|
||||||
|
|
||||||
QIcon getIcon(QString key);
|
QIcon getIcon(QString key);
|
||||||
|
QIcon getBigIcon(QString key);
|
||||||
int getIconIndex(QString key);
|
int getIconIndex(QString key);
|
||||||
|
|
||||||
virtual QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const;
|
virtual QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const;
|
||||||
|
Loading…
Reference in New Issue
Block a user