a font for the default format. Even though the docs say that "the default font is used" in that
case, obviously it wasn't used correctly...
Now even fresh installs (with no custom font set) should display correctly. Please let me know
if that also works on Windows and MacOSX, or if any issues remain.
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
#include "uistyle.h"
#include "uistylesettings.h"
#include "uistyle.h"
#include "uistylesettings.h"
// Default format
QTextCharFormat def;
def.setForeground(QBrush("#000000"));
// Default format
QTextCharFormat def;
def.setForeground(QBrush("#000000"));
- //def.setFont(QFont("Mono", 10));
+ def.setFont(QFont("Monospace", QApplication::font().pointSize()));
def.font().setFixedPitch(true);
def.font().setStyleHint(QFont::TypeWriter);
_defaultFormats = QVector<QTextCharFormat>(NumFormatTypes, def);
def.font().setFixedPitch(true);
def.font().setStyleHint(QFont::TypeWriter);
_defaultFormats = QVector<QTextCharFormat>(NumFormatTypes, def);
quasselVersion = "0.2.0-alpha5-pre";
quasselDate = "2008-04-09";
quasselVersion = "0.2.0-alpha5-pre";
quasselDate = "2008-04-09";
//! Minimum client build number the core needs
clientBuildNeeded = 642;
//! Minimum client build number the core needs
clientBuildNeeded = 642;