SYNERGY-936 Arial font
This commit is contained in:
parent
96a120b583
commit
01e2331101
3 changed files with 6 additions and 0 deletions
|
|
@ -21,5 +21,6 @@
|
|||
<file>icons/64x64/synergy-light-connected.png</file>
|
||||
<file>image/welcome.png</file>
|
||||
<file>icons/64x64/folder.png</file>
|
||||
<file>fonts/Arial.ttf</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
|
|
|||
BIN
src/gui/res/fonts/Arial.ttf
Normal file
BIN
src/gui/res/fonts/Arial.ttf
Normal file
Binary file not shown.
|
|
@ -29,6 +29,11 @@ QSynergyApplication::QSynergyApplication(int& argc, char** argv) :
|
|||
m_Translator(NULL)
|
||||
{
|
||||
s_Instance = this;
|
||||
|
||||
QFontDatabase::addApplicationFont(":/res/fonts/Arial.ttf");
|
||||
QFont Arial("Arial", 13);
|
||||
Arial.setStyleHint(QFont::Monospace);
|
||||
setFont(Arial);
|
||||
}
|
||||
|
||||
QSynergyApplication::~QSynergyApplication()
|
||||
|
|
|
|||
Loading…
Reference in a new issue