[PATCH 1/1] Set the NSPrincipalClass in Info.plist

Thiago Macieira thiago at macieira.org
Tue Feb 25 16:48:29 PST 2014


This is required to enable HiDPI support for the Retina displays. The
Info.plist that comes with Qt had this, but the one we supply with
Subsurface didn't.

Done-with: Jake Petroules <jake.petroules at petroules.com>
Signed-off-by: Thiago Macieira <thiago at macieira.org>
---
 packaging/macosx/Info.plist.in | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/packaging/macosx/Info.plist.in b/packaging/macosx/Info.plist.in
index 5e09440..ca7060e 100644
--- a/packaging/macosx/Info.plist.in
+++ b/packaging/macosx/Info.plist.in
@@ -2,6 +2,8 @@
 <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
 <plist version="1.0">
 <dict>
+	<key>NSPrincipalClass</key>
+	<string>NSApplication</string>
 	<key>CFBundleIconFile</key>
 	<string>Subsurface.icns</string>
 	<key>CFBundleName</key>
-- 
1.8.4.5



More information about the subsurface mailing list