-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 @@ -33,3 +33,3 @@ DEFINES += UNIX TARGET = sysinfo -VERSION = 1.2.0 +VERSION = 1.2.1 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 @@ -24,3 +24,4 @@ #include <opie2/olistview.h> -#include <qpe/qpeapplication.h> +#include <opie2/oconfig.h> +using namespace Opie::Core; using namespace Opie::Ui; @@ -68,3 +69,5 @@ SyslogInfo::SyslogInfo( QWidget* parent, const char* name, WFlags fl ) syslogview->setTextFormat( PlainText ); - syslogview->setFont( QFont( "Fixed" ) ); + OConfig cfg( "qpe" ); + cfg.setGroup( "Appearance" ); + syslogview->setFont( QFont( "Fixed", cfg.readNumEntry( "FontSize", 10 ) ) ); layout->addWidget( syslogview, 0, 0 ); |