mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-01-27 07:46:17 +01:00
Merge pull request #55 from phedlund/enable_retina_support
Enable retina support on Mac OS.
This commit is contained in:
commit
474a5f2c93
@ -2,7 +2,10 @@
|
||||
<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
|
||||
<plist version="0.9">
|
||||
<dict>
|
||||
|
||||
<key>NSPrincipalClass</key>
|
||||
<string>NSApplication</string>
|
||||
<key>NSHighResolutionCapable</key>
|
||||
<string>True</string>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>English</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
|
@ -62,6 +62,9 @@ int main(int argc, char *argv[]) {
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
QApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
|
||||
QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
|
||||
|
||||
// Register needed metatypes.
|
||||
qRegisterMetaType<QList<Message> >("QList<Message>");
|
||||
qRegisterMetaType<QList<RootItem*> >("QList<RootItem*>");
|
||||
|
Loading…
x
Reference in New Issue
Block a user