summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
authorAlexTMjugador <AlexTMjugador@users.noreply.github.com>2019-04-15 00:44:59 +0200
committerAlexTMjugador <AlexTMjugador@users.noreply.github.com>2019-04-15 00:44:59 +0200
commit2be98baaba61d617fee15afea72c22ff85f8a6a5 (patch)
tree0112786cbaf8ab0b62a3be2f61bb21840d168bc5 /application
parent0ce637bf0ece752ea82ddc8333cde3a74e0918a8 (diff)
downloadMultiMC-2be98baaba61d617fee15afea72c22ff85f8a6a5.tar
MultiMC-2be98baaba61d617fee15afea72c22ff85f8a6a5.tar.gz
MultiMC-2be98baaba61d617fee15afea72c22ff85f8a6a5.tar.lz
MultiMC-2be98baaba61d617fee15afea72c22ff85f8a6a5.tar.xz
MultiMC-2be98baaba61d617fee15afea72c22ff85f8a6a5.zip
Conform to existing code style
Diffstat (limited to 'application')
-rw-r--r--application/MainWindow.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/application/MainWindow.cpp b/application/MainWindow.cpp
index 69457e11..51cb5760 100644
--- a/application/MainWindow.cpp
+++ b/application/MainWindow.cpp
@@ -902,7 +902,7 @@ void MainWindow::showInstanceContextMenu(const QPoint &pos)
void MainWindow::updateToolsMenu()
{
QToolButton *launchButton = dynamic_cast<QToolButton*>(ui->instanceToolBar->widgetForAction(ui->actionLaunchInstance));
- QToolButton* launchOfflineButton = dynamic_cast<QToolButton*>(ui->instanceToolBar->widgetForAction(ui->actionLaunchInstanceOffline));
+ QToolButton *launchOfflineButton = dynamic_cast<QToolButton*>(ui->instanceToolBar->widgetForAction(ui->actionLaunchInstanceOffline));
if(!m_selectedInstance || m_selectedInstance->isRunning())
{
@@ -914,7 +914,7 @@ void MainWindow::updateToolsMenu()
}
QMenu *launchMenu = ui->actionLaunchInstance->menu();
- QMenu* launchOfflineMenu = ui->actionLaunchInstanceOffline->menu();
+ QMenu *launchOfflineMenu = ui->actionLaunchInstanceOffline->menu();
launchButton->setPopupMode(QToolButton::MenuButtonPopup);
launchOfflineButton->setPopupMode(QToolButton::MenuButtonPopup);
if (launchMenu)
@@ -934,7 +934,7 @@ void MainWindow::updateToolsMenu()
}
QAction *normalLaunch = launchMenu->addAction(tr("Launch"));
- QAction* normalLaunchOffline = launchOfflineMenu->addAction(tr("Launch"));
+ QAction *normalLaunchOffline = launchOfflineMenu->addAction(tr("Launch"));
connect(normalLaunch, &QAction::triggered, [this]()
{
MMC->launch(m_selectedInstance, true);
@@ -948,7 +948,7 @@ void MainWindow::updateToolsMenu()
for (auto profiler : MMC->profilers().values())
{
QAction *profilerAction = launchMenu->addAction(profiler->name());
- QAction* profilerOfflineAction = launchOfflineMenu->addAction(profiler->name());
+ QAction *profilerOfflineAction = launchOfflineMenu->addAction(profiler->name());
QString error;
if (!profiler->check(&error))
{