summaryrefslogtreecommitdiffstats
path: root/application/pages
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2017-12-14 00:29:00 +0100
committerPetr Mrázek <peterix@gmail.com>2017-12-14 00:29:00 +0100
commitf18afd3d1e73cc0020bfa1189e0b8fefc0f14e61 (patch)
tree391235d09867cf718d69a8e8d4beed6cefda5057 /application/pages
parentef2cbe16e611da68f3cb529f87f4ecb3038af161 (diff)
downloadMultiMC-f18afd3d1e73cc0020bfa1189e0b8fefc0f14e61.tar
MultiMC-f18afd3d1e73cc0020bfa1189e0b8fefc0f14e61.tar.gz
MultiMC-f18afd3d1e73cc0020bfa1189e0b8fefc0f14e61.tar.lz
MultiMC-f18afd3d1e73cc0020bfa1189e0b8fefc0f14e61.tar.xz
MultiMC-f18afd3d1e73cc0020bfa1189e0b8fefc0f14e61.zip
NOISSUE fix a bunch of warnings thrown by Qt internals
Badly connected signals/slots and similar things.
Diffstat (limited to 'application/pages')
-rw-r--r--application/pages/LogPage.cpp6
-rw-r--r--application/pages/LogPage.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/application/pages/LogPage.cpp b/application/pages/LogPage.cpp
index 025d902b..009a9f55 100644
--- a/application/pages/LogPage.cpp
+++ b/application/pages/LogPage.cpp
@@ -141,9 +141,9 @@ LogPage::LogPage(InstancePtr instance, QWidget *parent)
auto launchTask = m_instance->getLaunchTask();
if(launchTask)
{
- on_InstanceLaunchTask_changed(launchTask);
+ onInstanceLaunchTaskChanged(launchTask);
}
- connect(m_instance.get(), &BaseInstance::launchTaskChanged, this, &LogPage::on_InstanceLaunchTask_changed);
+ connect(m_instance.get(), &BaseInstance::launchTaskChanged, this, &LogPage::onInstanceLaunchTaskChanged);
}
ui->text->setWordWrap(true);
@@ -162,7 +162,7 @@ LogPage::~LogPage()
delete ui;
}
-void LogPage::on_InstanceLaunchTask_changed(std::shared_ptr<LaunchTask> proc)
+void LogPage::onInstanceLaunchTaskChanged(std::shared_ptr<LaunchTask> proc)
{
m_process = proc;
if(m_process)
diff --git a/application/pages/LogPage.h b/application/pages/LogPage.h
index 7346f93f..3ca47b8a 100644
--- a/application/pages/LogPage.h
+++ b/application/pages/LogPage.h
@@ -69,7 +69,7 @@ private slots:
void findNextActivated();
void findPreviousActivated();
- void on_InstanceLaunchTask_changed(std::shared_ptr<LaunchTask> proc);
+ void onInstanceLaunchTaskChanged(std::shared_ptr<LaunchTask> proc);
private:
Ui::LogPage *ui;