--warning: treat unused variables so we are not warned about them
parent
2a9a436307
commit
f70256931c
|
@ -226,7 +226,7 @@ void DrmBackend::handleUdevEvent()
|
||||||
|
|
||||||
if (device->action() == QStringLiteral("add")) {
|
if (device->action() == QStringLiteral("add")) {
|
||||||
if (m_gpus.isEmpty() || !primaryGpu()->useEglStreams()) {
|
if (m_gpus.isEmpty() || !primaryGpu()->useEglStreams()) {
|
||||||
if (const auto &gpu = addGpu(device->devNode())) {
|
if (addGpu(device->devNode())) {
|
||||||
updateOutputs();
|
updateOutputs();
|
||||||
updateCursor();
|
updateCursor();
|
||||||
}
|
}
|
||||||
|
|
|
@ -377,6 +377,7 @@ QRegion EglWaylandBackend::beginFrame(int screenId)
|
||||||
|
|
||||||
void EglWaylandBackend::endFrame(int screenId, const QRegion &renderedRegion, const QRegion &damagedRegion)
|
void EglWaylandBackend::endFrame(int screenId, const QRegion &renderedRegion, const QRegion &damagedRegion)
|
||||||
{
|
{
|
||||||
|
Q_UNUSED(renderedRegion);
|
||||||
EglWaylandOutput *output = m_outputs[screenId];
|
EglWaylandOutput *output = m_outputs[screenId];
|
||||||
QRegion damage = damagedRegion.intersected(output->m_waylandOutput->geometry());
|
QRegion damage = damagedRegion.intersected(output->m_waylandOutput->geometry());
|
||||||
presentOnSurface(output, damage);
|
presentOnSurface(output, damage);
|
||||||
|
|
|
@ -41,6 +41,7 @@ GenericScriptedConfig::GenericScriptedConfig(const QString &componentName, const
|
||||||
, m_packageName(keyword)
|
, m_packageName(keyword)
|
||||||
, m_translator(new KLocalizedTranslator(this))
|
, m_translator(new KLocalizedTranslator(this))
|
||||||
{
|
{
|
||||||
|
Q_UNUSED(componentName);
|
||||||
QCoreApplication::instance()->installTranslator(m_translator);
|
QCoreApplication::instance()->installTranslator(m_translator);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue