mirror of
https://git.outfoxxed.me/quickshell/quickshell.git
synced 2026-02-23 03:33:57 +11:00
all: fix lints
This commit is contained in:
parent
f78078dfaf
commit
1d94144976
15 changed files with 61 additions and 57 deletions
|
|
@ -135,8 +135,8 @@ void PwDevice::polled() {
|
|||
// It is far more likely that the list content has not come in yet than it having no entries,
|
||||
// and there isn't a way to check in the case that there *aren't* actually any entries.
|
||||
if (!this->stagingIndexes.isEmpty()) {
|
||||
this->routeDeviceIndexes.removeIf([&](const std::pair<qint32, qint32>& entry) {
|
||||
if (!stagingIndexes.contains(entry.first)) {
|
||||
this->routeDeviceIndexes.removeIf([&, this](const std::pair<qint32, qint32>& entry) {
|
||||
if (!this->stagingIndexes.contains(entry.first)) {
|
||||
qCDebug(logDevice).nospace() << "Removed device/index pair [device: " << entry.first
|
||||
<< ", index: " << entry.second << "] for" << this;
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue