diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2008-02-16 14:27:52 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2008-02-16 14:27:52 +0000 |
| commit | 3f1e40c12c484eca214e1cbc988f308eeae8b1c7 (patch) | |
| tree | 6955a604504a763c20d28297637db258bd28d5ef /src/ui/textscroller.cpp | |
| parent | 743106083092d3cdfad526de825215ace68f5267 (diff) | |
| download | qmmp-3f1e40c12c484eca214e1cbc988f308eeae8b1c7.tar.gz qmmp-3f1e40c12c484eca214e1cbc988f308eeae8b1c7.tar.bz2 qmmp-3f1e40c12c484eca214e1cbc988f308eeae8b1c7.zip | |
some font and color fixes
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@243 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/ui/textscroller.cpp')
| -rw-r--r-- | src/ui/textscroller.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/ui/textscroller.cpp b/src/ui/textscroller.cpp index 35e4ed4eb..4f3e3be80 100644 --- a/src/ui/textscroller.cpp +++ b/src/ui/textscroller.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2006 by Ilya Kotov * + * Copyright (C) 2006-2008 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -38,7 +38,7 @@ TextScroller::TextScroller ( QWidget *parent ) { pointer = this; m_skin = Skin::getPointer(); - m_pixmap = QPixmap ( 154,15 ); + m_pixmap = QPixmap ( 150,15 ); x = 0; m_text = "Qt-based Multimedia Player (Qmmp " + QString(QMMP_STR_VERSION) + ")"; m_update = FALSE; @@ -82,15 +82,13 @@ void TextScroller::setText(const QString& text) void TextScroller::updateSkin() { - m_color.setNamedColor(m_skin->getPLValue("normal")); + m_color.setNamedColor(m_skin->getPLValue("mbfg")); } void TextScroller::readSettings() { QSettings settings(QDir::homePath()+"/.qmmp/qmmprc", QSettings::IniFormat); QString fontname = settings.value("MainWindow/Font","").toString(); - if (fontname.isEmpty ()) - fontname = QFont("Helvetica [Cronyx]", 9).toString(); m_font.fromString(fontname); if (m_update) |
