author | eilers <eilers> | 2003-09-29 07:48:22 (UTC) |
---|---|---|
committer | eilers <eilers> | 2003-09-29 07:48:22 (UTC) |
commit | 93b76e67cf954eab09091996a790301369d77a88 (patch) (side-by-side diff) | |
tree | 07371fb611edaed9d4ef4cd5f0791657da579255 | |
parent | 5e0dd8f6328bff965878c80b9d220a535b826376 (diff) | |
download | opie-93b76e67cf954eab09091996a790301369d77a88.zip opie-93b76e67cf954eab09091996a790301369d77a88.tar.gz opie-93b76e67cf954eab09091996a790301369d77a88.tar.bz2 |
Now using default font instead smallsmooth
-rw-r--r-- | core/pim/addressbook/picker.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/pim/addressbook/picker.cpp b/core/pim/addressbook/picker.cpp index 5099d68..9e0c78a 100644 --- a/core/pim/addressbook/picker.cpp +++ b/core/pim/addressbook/picker.cpp @@ -1,68 +1,69 @@ #include "picker.h" #include <qfont.h> #include <qstring.h> #include <qtimer.h> #include <qlayout.h> char PickerLabel::lastLetter = '\0'; PickerLabel::PickerLabel( QWidget *parent, const char *name ) : QLabel ( parent, name ) { currentLetter = 0; //lastLetter = 0; letter1 = '\0'; letter2 = '\0'; letter3 = '\0'; - setFont( QFont( "smallsmooth", 9 ) ); + // setFont( QFont( "smallsmooth", 9 ) ); + setFont( QFont::defaultFont() ); setTextFormat( Qt::RichText ); } PickerLabel::~PickerLabel() { } void PickerLabel::setLetters( char ch1, char ch2, char ch3 ) { QString tmpStr; if (ch1 != '\0') letter1 = ch1; else letter1 = ' '; if (ch2 != '\0') letter2 = ch2; else letter2 = ' '; if (ch3 != '\0') letter3 = ch3; else letter3 = ' '; tmpStr = "<qt>"; tmpStr += letter1; tmpStr += letter2; tmpStr += letter3; tmpStr += "</qt>"; setText(tmpStr); currentLetter = 0; } void PickerLabel::clearLetter() { QString tmpStr; tmpStr = "<qt>"; tmpStr += letter1; tmpStr += letter2; |