Skip to content
Snippets Groups Projects
Unverified Commit dd96c098 authored by Kali Kaneko's avatar Kali Kaneko
Browse files

[ui] revert workarounds

parent 5b8be038
Branches
Tags
No related merge requests found
......@@ -56,12 +56,6 @@ int main(int argc, char **argv) {
Backend backend;
const int fontId = QFontDatabase::addApplicationFont(":/resources/fonts/Roboto-Regular.ttf");
if (fontId == -1)
qWarning() << "Failed to add Roboto as app font";
else
qDebug() << QFontDatabase::applicationFontFamilies(fontId);
QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
QApplication::setApplicationVersion(backend.getVersion());
QApplication app(argc, argv);
......
......@@ -168,10 +168,12 @@ ApplicationWindow {
Component.onCompleted: {
loader.source = "components/Splash.qml"
// XXX workaround for custom font not working in osx
/*
if (Qt.platform.os === "osx") {
// XXX workaround for custom font not working in osx
root.font.family = robotoFont.name
root.font.weight = Font.Light
}
*/
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment