mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-15 14:16:02 -06:00
[PR #1016] [MERGED] gui: Use range-based for loop instead of foreach macro #1742
Labels
No labels
HiDPI
bounty
bsd/freebsd
bsd/openbsd
bug
bug
build-infra
cantfix
critical
doc
duplicate
enhancement
fix-available
from git
from release
good first issue
help wanted
installer/package
invalid
linux
macOS
meta
needs testing
pull-request
query
question
regression
regression
v2.4.0
windows
wontfix
work-in-progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/barrier#1742
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/debauchee/barrier/pull/1016
Author: @p12tic
Created: 1/10/2021
Status: ✅ Merged
Merged: 1/10/2021
Merged by: @p12tic
Base:
master← Head:cleanup-foreach-loop📝 Commits (1)
0259703gui: Use range-based for loop instead of foreach macro📊 Changes
10 files changed (+30 additions, -24 deletions)
View changed files
📝
src/gui/src/ActionDialog.cpp(+4 -2)📝
src/gui/src/Fingerprint.cpp(+1 -2)📝
src/gui/src/MainWindow.cpp(+2 -3)📝
src/gui/src/QBarrierApplication.cpp(+1 -2)📝
src/gui/src/QUtility.cpp(+1 -2)📝
src/gui/src/Screen.cpp(+2 -1)📝
src/gui/src/ScreenSetupModel.cpp(+2 -1)📝
src/gui/src/ServerConfig.cpp(+8 -4)📝
src/gui/src/ServerConfigDialog.cpp(+4 -2)📝
src/gui/src/ZeroconfService.cpp(+5 -5)📄 Description
The foreach macro is no longer needed when we have C++11 range-based for loop.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.