mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-17 06:01:12 +00:00
Fix deprecation warning on macOS
This commit is contained in:
@@ -357,10 +357,10 @@ public:
|
|||||||
|
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case Overlay::OverlayDebug:
|
case Overlay::OverlayDebug:
|
||||||
[m_OverlayTextFields[type] setAlignment:NSLeftTextAlignment];
|
[m_OverlayTextFields[type] setAlignment:NSTextAlignmentLeft];
|
||||||
break;
|
break;
|
||||||
case Overlay::OverlayStatusUpdate:
|
case Overlay::OverlayStatusUpdate:
|
||||||
[m_OverlayTextFields[type] setAlignment:NSRightTextAlignment];
|
[m_OverlayTextFields[type] setAlignment:NSTextAlignmentRight];
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user