mirror of
https://git.outfoxxed.me/quickshell/quickshell.git
synced 2026-04-12 06:21:54 +10:00
all: fix lints
This commit is contained in:
parent
6cc1b6f36a
commit
344ca340ba
14 changed files with 60 additions and 56 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