author | mickeyl <mickeyl> | 2005-01-05 15:48:48 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2005-01-05 15:48:48 (UTC) |
commit | fecdd65b5188f3492ae92108b9d19393011de666 (patch) (unidiff) | |
tree | 9f19107d3f722d59bdaa789c1d8dd07ea336d84e | |
parent | 34ae22499b91f483f1cf505e515047ea11e8eaf0 (diff) | |
download | opie-fecdd65b5188f3492ae92108b9d19393011de666.zip opie-fecdd65b5188f3492ae92108b9d19393011de666.tar.gz opie-fecdd65b5188f3492ae92108b9d19393011de666.tar.bz2 |
read font size from qpe.conf
-rw-r--r-- | noncore/settings/sysinfo/sysinfo.pro | 2 | ||||
-rw-r--r-- | noncore/settings/sysinfo/sysloginfo.cpp | 7 |
2 files changed, 6 insertions, 3 deletions
diff --git a/noncore/settings/sysinfo/sysinfo.pro b/noncore/settings/sysinfo/sysinfo.pro index 46d6117..fc754d7 100644 --- a/noncore/settings/sysinfo/sysinfo.pro +++ b/noncore/settings/sysinfo/sysinfo.pro | |||
@@ -31,6 +31,6 @@ DEPENDPATH += $(OPIEDIR)/include | |||
31 | LIBS += -lqpe -lopiecore2 -lopieui2 | 31 | LIBS += -lqpe -lopiecore2 -lopieui2 |
32 | DEFINES += UNIX | 32 | DEFINES += UNIX |
33 | TARGET = sysinfo | 33 | TARGET = sysinfo |
34 | VERSION = 1.2.0 | 34 | VERSION = 1.2.1 |
35 | 35 | ||
36 | include( $(OPIEDIR)/include.pro ) | 36 | include( $(OPIEDIR)/include.pro ) |
diff --git a/noncore/settings/sysinfo/sysloginfo.cpp b/noncore/settings/sysinfo/sysloginfo.cpp index 89c04e0..a9e98e3 100644 --- a/noncore/settings/sysinfo/sysloginfo.cpp +++ b/noncore/settings/sysinfo/sysloginfo.cpp | |||
@@ -22,7 +22,8 @@ | |||
22 | 22 | ||
23 | /* OPIE */ | 23 | /* OPIE */ |
24 | #include <opie2/olistview.h> | 24 | #include <opie2/olistview.h> |
25 | #include <qpe/qpeapplication.h> | 25 | #include <opie2/oconfig.h> |
26 | using namespace Opie::Core; | ||
26 | using namespace Opie::Ui; | 27 | using namespace Opie::Ui; |
27 | 28 | ||
28 | /* QT */ | 29 | /* QT */ |
@@ -66,7 +67,9 @@ SyslogInfo::SyslogInfo( QWidget* parent, const char* name, WFlags fl ) | |||
66 | 67 | ||
67 | syslogview = new QTextView( this ); | 68 | syslogview = new QTextView( this ); |
68 | syslogview->setTextFormat( PlainText ); | 69 | syslogview->setTextFormat( PlainText ); |
69 | syslogview->setFont( QFont( "Fixed" ) ); | 70 | OConfig cfg( "qpe" ); |
71 | cfg.setGroup( "Appearance" ); | ||
72 | syslogview->setFont( QFont( "Fixed", cfg.readNumEntry( "FontSize", 10 ) ) ); | ||
70 | layout->addWidget( syslogview, 0, 0 ); | 73 | layout->addWidget( syslogview, 0, 0 ); |
71 | syslogview->setText( "..." ); | 74 | syslogview->setText( "..." ); |
72 | 75 | ||