Skip to content

Commit

Permalink
[fix] global: fix font
Browse files Browse the repository at this point in the history
  • Loading branch information
bgallois committed Apr 11, 2021
1 parent 98bd149 commit b3ce9b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ int main(int argc, char *argv[]) {
a.setOrganizationDomain("www.fasttrack.sh");
w.setWindowIcon(QIcon(":/assets/icon.png"));
QFontDatabase::addApplicationFont(":/assets/Font.ttf");
w.setStyleSheet("QWidget { font-family: 'Lato'; }");
w.setStyleSheet("QWidget {font-family: 'Lato', sans-serif;}");
w.show();
a.exec();
}
2 changes: 1 addition & 1 deletion src/theme.qss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ QWidget {
background: #FFFFFF;
alternate-background-color: #DEE4E7;
selection-background-color: #37474F;
font-family: "Lato"
font-family: 'Lato', sans-serif;
}

QPushButton {
Expand Down

0 comments on commit b3ce9b2

Please sign in to comment.