@@ -49,7 +49,7 @@ void PasswordComboBox::setEcho(bool echo)
|
|||||||
// Qt on Mac OS doesn't seem to know the generic monospace family (tested with 4.8.6)
|
// Qt on Mac OS doesn't seem to know the generic monospace family (tested with 4.8.6)
|
||||||
setStyleSheet("QComboBox { font-family: monospace,Menlo,Monaco; }");
|
setStyleSheet("QComboBox { font-family: monospace,Menlo,Monaco; }");
|
||||||
#else
|
#else
|
||||||
setStyleSheet("QComboBox { font-family: monospace,Courier; }");
|
setStyleSheet("QComboBox { font-family: monospace,Courier New; }");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ void PasswordEdit::updateStylesheet()
|
|||||||
// Qt on Mac OS doesn't seem to know the generic monospace family (tested with 4.8.6)
|
// Qt on Mac OS doesn't seem to know the generic monospace family (tested with 4.8.6)
|
||||||
stylesheet.append("font-family: monospace,Menlo,Monaco; ");
|
stylesheet.append("font-family: monospace,Menlo,Monaco; ");
|
||||||
#else
|
#else
|
||||||
stylesheet.append("font-family: monospace; ");
|
stylesheet.append("font-family: monospace,Courier New; ");
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user