Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/palaeoware/SPIERSedit
Browse files Browse the repository at this point in the history
  • Loading branch information
RussellGarwood committed Oct 17, 2018
2 parents 41f5f9b + ffa7f4f commit 2c2d631
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ Generated by QDevelop - left as is
#ifndef __APPLE__
int main(int argc, char **argv)
{
QApplication app( argc, argv );

//This has the app draw at HiDPI scaling on HiDPI displays, usually two pixels for every one logical pixel
QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);

Expand All @@ -36,8 +38,6 @@ int main(int argc, char **argv)
QApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
#endif

QApplication app( argc, argv );

//Style program with our dark style
QApplication::setStyle(new DarkStyleTheme);

Expand Down

0 comments on commit 2c2d631

Please sign in to comment.