summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2016-10-11 21:34:02 +0200
committerPetr Mrázek <peterix@gmail.com>2016-10-11 21:34:02 +0200
commitf07496ac6d42986266f3bff5093fa0009521ecd5 (patch)
treea1310562baf6bed178dc98e17c5e6fc824300176 /application
parent6e80f03409054293bdbbcd0ce87b607a811016d5 (diff)
downloadMultiMC-f07496ac6d42986266f3bff5093fa0009521ecd5.tar
MultiMC-f07496ac6d42986266f3bff5093fa0009521ecd5.tar.gz
MultiMC-f07496ac6d42986266f3bff5093fa0009521ecd5.tar.lz
MultiMC-f07496ac6d42986266f3bff5093fa0009521ecd5.tar.xz
MultiMC-f07496ac6d42986266f3bff5093fa0009521ecd5.zip
GH-1675 reimplement suspesion of log watch
Diffstat (limited to 'application')
-rw-r--r--application/pages/LogPage.cpp2
-rw-r--r--application/pages/LogPage.h6
2 files changed, 1 insertions, 7 deletions
diff --git a/application/pages/LogPage.cpp b/application/pages/LogPage.cpp
index e7b670ea..19d1c7fe 100644
--- a/application/pages/LogPage.cpp
+++ b/application/pages/LogPage.cpp
@@ -240,7 +240,7 @@ void LogPage::on_btnBottom_clicked()
void LogPage::on_trackLogCheckbox_clicked(bool checked)
{
- m_write_active = checked;
+ m_model->suspend(!checked);
}
void LogPage::on_wrapCheckbox_clicked(bool checked)
diff --git a/application/pages/LogPage.h b/application/pages/LogPage.h
index f98b5ecf..37679327 100644
--- a/application/pages/LogPage.h
+++ b/application/pages/LogPage.h
@@ -76,12 +76,6 @@ private:
Ui::LogPage *ui;
InstancePtr m_instance;
std::shared_ptr<LaunchTask> m_process;
- int m_last_scroll_value = 0;
- bool m_scroll_active = true;
- int m_saved_offset = 0;
- bool m_write_active = true;
- bool m_stopOnOverflow = true;
- bool m_autoScroll = false;
BasePageContainer * m_parentContainer;
LogFormatProxyModel * m_proxy;