diff options
author | Marcin Juszkiewicz <hrw@openembedded.org> | 2005-09-16 20:35:48 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-09-16 20:35:48 +0000 |
commit | 20f18caf065a7eb53f6791843d3a7940d65abbd0 (patch) | |
tree | 8f04bbf658b30addffef46d4bd00d6045a613b23 /packages/opie-wellenreiter/files | |
parent | 671817fd31321135ac75533882d36ee2b3263913 (diff) |
opie-wellenreiter: backported fontfix from OPIE CVS
- packetview had font hardcoded to Fixed/8 - nearly unreadable on VGA screen
Diffstat (limited to 'packages/opie-wellenreiter/files')
-rw-r--r-- | packages/opie-wellenreiter/files/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/opie-wellenreiter/files/0916_wellenreiter-fontfix.patch | 43 |
2 files changed, 43 insertions, 0 deletions
diff --git a/packages/opie-wellenreiter/files/.mtn2git_empty b/packages/opie-wellenreiter/files/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/opie-wellenreiter/files/.mtn2git_empty diff --git a/packages/opie-wellenreiter/files/0916_wellenreiter-fontfix.patch b/packages/opie-wellenreiter/files/0916_wellenreiter-fontfix.patch new file mode 100644 index 0000000000..b85d46cb08 --- /dev/null +++ b/packages/opie-wellenreiter/files/0916_wellenreiter-fontfix.patch @@ -0,0 +1,43 @@ + +This patch is backport from OPIE CVS. +Submitted upstream by Marcin Juszkiewicz <openembedded@hrw.one.pl> +Date: 2005-09-16 + +Index: packetview.cpp +=================================================================== +RCS file: /cvs/opie/noncore/net/wellenreiter/gui/packetview.cpp,v +retrieving revision 1.9 +diff -u -r1.9 packetview.cpp +--- wellenreiter/gui/packetview.cpp 24 Aug 2004 11:53:44 -0000 1.9 ++++ wellenreiter/gui/packetview.cpp 16 Sep 2005 17:41:03 -0000 +@@ -20,6 +20,7 @@ + #include <opie2/odebug.h> + #include <opie2/olistview.h> + #include <opie2/oapplication.h> ++#include <qpe/config.h> + + /* QT */ + #include <qfont.h> +@@ -38,6 +39,9 @@ + PacketView::PacketView( QWidget * parent, const char * name, WFlags f ) + :QFrame( parent, name, f ) + { ++ Config c( "qpe" ); ++ c.setGroup( "Appearance" ); ++ + _number = new QSpinBox( this ); + _number->setPrefix( "Pkt# " ); + _label = new QLabel( this ); +@@ -47,11 +51,10 @@ + _list->setColumnAlignment( 0, Qt::AlignCenter ); + _list->setColumnAlignment( 1, Qt::AlignLeft ); + _list->setAllColumnsShowFocus( true ); +- _list->setFont( QFont( "Fixed", 8 ) ); + + _hex = new QTextView( this ); + _hex->setMargin( 0 ); +- _hex->setFont( QFont( "Fixed", 8 ) ); ++ _hex->setFont( QFont( c.readEntry( "FixedFontFamily", "Fixed" ), c.readNumEntry( "FixedFontSize", 8 ) ) ); + + QVBoxLayout* vb = new QVBoxLayout( this, 2, 2 ); + QHBoxLayout* hb = new QHBoxLayout( vb, 2 ); |