Skip to content

Commit

Permalink
Disable auto scaling on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Briza committed Nov 2, 2016
1 parent ab8da24 commit 1270979
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,10 @@ int main(int argc, char **argv)
QApplication::setOrganizationDomain("fedoraproject.org");
QApplication::setOrganizationName("fedoraproject.org");
QApplication::setApplicationName("MediaWriter");

#ifndef __linux
// qt x11 scaling is broken
QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
#endif
QApplication app(argc, argv);

options.parse(app.arguments());
Expand Down

0 comments on commit 1270979

Please sign in to comment.