Permalink
Browse files

Merge pull request #6756 from spycrab/qt_segoe_ui

Qt/Win32: Force Segoe UI
  • Loading branch information...
leoetlino committed May 5, 2018
2 parents 975689e + ad21282 commit 58b96eeb9df32030761af0aecbeb7a6b994d12eb
Showing with 11 additions and 0 deletions.
  1. +11 −0 Source/Core/DolphinQt2/Main.cpp
@@ -93,6 +93,17 @@ int main(int argc, char* argv[])
QApplication app(argc, argv);
#ifdef _WIN32
// Force the default font to Segoe UI on Windows
QFont font = QApplication::font();
font.setFamily(QStringLiteral("Segoe UI"));
// The default font size is a bit too small
font.setPointSize(QFontInfo(font).pointSize() * 1.2);
QApplication::setFont(font);
#endif
auto parser = CommandLineParse::CreateParser(CommandLineParse::ParserOptions::IncludeGUIOptions);
const optparse::Values& options = CommandLineParse::ParseArguments(parser.get(), argc, argv);
const std::vector<std::string> args = parser->args();

0 comments on commit 58b96ee

Please sign in to comment.