Merge pull request #6392 from lioncash/iostream

Qt: Remove unnecessary <iostream> includes
This commit is contained in:
Anthony 2018-02-21 13:48:48 -08:00 committed by GitHub
commit fca9c28f38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 10 deletions

View File

@ -10,8 +10,6 @@
#include <QPushButton>
#include <QStyle>
#include <iostream>
#include "Core/ConfigManager.h"
#include "Core/Core.h"
#include "DolphinQt2/Settings.h"
@ -23,10 +21,8 @@ CheatWarningWidget::CheatWarningWidget(const std::string& game_id) : m_game_id(g
connect(&Settings::Instance(), &Settings::EnableCheatsChanged,
[this] { Update(Core::IsRunning()); });
connect(&Settings::Instance(), &Settings::EmulationStateChanged, [this](Core::State state) {
std::cout << (state == Core::State::Running) << std::endl;
Update(state == Core::State::Running);
});
connect(&Settings::Instance(), &Settings::EmulationStateChanged,
[this](Core::State state) { Update(state == Core::State::Running); });
Update(Core::IsRunning());
}

View File

@ -9,8 +9,6 @@
#include <QString>
#include <QTimer>
#include <iostream>
#include "DolphinQt2/Config/Mapping/MappingButton.h"
#include "Common/Thread.h"

View File

@ -10,8 +10,6 @@
#include <QPainter>
#include <QTimer>
#include <iostream>
#include "InputCommon/ControlReference/ControlReference.h"
#include "InputCommon/ControllerEmu/Control/Control.h"
#include "InputCommon/ControllerEmu/ControlGroup/ControlGroup.h"