summaryrefslogtreecommitdiffstats
path: root/packaging/macosx
diff options
context:
space:
mode:
authorGravatar Thiago Macieira <thiago@macieira.org>2014-02-25 16:48:29 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-02-25 17:35:20 -0800
commit28d0cb8e2cad400b4c99c0e2b7c9209dffe4e6ba (patch)
treedf43ed82172b36cccbbd0f5f859a9f595707d3cf /packaging/macosx
parent3318aefa464103f3966e773b3af9898a87c5e441 (diff)
downloadsubsurface-28d0cb8e2cad400b4c99c0e2b7c9209dffe4e6ba.tar.gz
Set the NSPrincipalClass in Info.plist
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@petroules.com> Signed-off-by: Thiago Macieira <thiago@macieira.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'packaging/macosx')
-rw-r--r--packaging/macosx/Info.plist.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/packaging/macosx/Info.plist.in b/packaging/macosx/Info.plist.in
index 5e094401a..ca7060e46 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>