From e34919fb2edf1bc6f7cb25b029cbe419ba77d2dd Mon Sep 17 00:00:00 2001 From: Colin Cornaby Date: Fri, 17 Nov 2023 21:42:41 -0800 Subject: [PATCH] Using stringWithSTString to set window title --- Sources/Plasma/Apps/plClient/Mac-Cocoa/main.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Plasma/Apps/plClient/Mac-Cocoa/main.mm b/Sources/Plasma/Apps/plClient/Mac-Cocoa/main.mm index a43e3f8673..0101728f20 100644 --- a/Sources/Plasma/Apps/plClient/Mac-Cocoa/main.mm +++ b/Sources/Plasma/Apps/plClient/Mac-Cocoa/main.mm @@ -505,7 +505,7 @@ - (void)updateWindowTitle #endif #else - [self.window setTitle:[NSString stringWithCString:plProduct::LongName().c_str() encoding:NSUTF8StringEncoding]]; + [NSString stringWithSTString:plProduct::LongName()]; #endif }