#include <QGuiApplication>
#include <QPalette>
-#include <QtGlobal>
#include <QWidget>
using namespace SelectionMode;
while (!*i) {
i = m_colorControlledWidgets.erase(i);
if (i == m_colorControlledWidgets.end()) {
- break;
+ return;
}
}
setBackgroundColorForWidget(*i, m_backgroundColor);