mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-15 14:16:02 -06:00
[PR #708] [MERGED] gui: Use enum class to scope enum values #1679
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#1679
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/708
Author: @p12tic
Created: 5/30/2020
Status: ✅ Merged
Merged: 5/30/2020
Merged by: @shymega
Base:
master← Head:enum-class📝 Commits (1)
94a280agui: Use enum class to scope enum values📊 Changes
7 files changed (+171 additions, -95 deletions)
View changed files
📝
src/gui/src/BaseConfig.h(+54 -18)📝
src/gui/src/Screen.cpp(+43 -22)📝
src/gui/src/Screen.h(+14 -9)📝
src/gui/src/ScreenSettingsDialog.cpp(+35 -30)📝
src/gui/src/ServerConfig.cpp(+11 -6)📝
src/gui/src/ServerConfig.h(+2 -2)📝
src/gui/src/ServerConfigDialog.cpp(+12 -8)📄 Description
We were using unscoped enums which leaked the identifiers all over the place. This is a prerequisite for enabling tests.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.