All pastes #18068 Raw Edit

netsystemtime patch

public text v1 · immutable
#18068 ·published 2005-07-19 17:29 UTC
rendered paste body
Index: ntptabwidget.cpp
===================================================================
RCS file: /cvs/opie/noncore/settings/netsystemtime/ntptabwidget.cpp,v
retrieving revision 1.3
diff -u -u -r1.3 ntptabwidget.cpp
--- ntptabwidget.cpp    15 Jun 2005 18:52:47 -0000      1.3
+++ ntptabwidget.cpp    19 Jul 2005 17:33:55 -0000
@@ -73,7 +73,7 @@
        // NTP output display
        mleNtpOutput = new QMultiLineEdit( container );
        QFont font(  mleNtpOutput->font() );
-       font.setPointSize( 7 );
+       font.setPointSize( font.pointSize() - 2 );
        mleNtpOutput->setFont( font );
        mleNtpOutput->setWordWrap( QMultiLineEdit::WidgetWidth );
        layout->addMultiCellWidget( mleNtpOutput, 3, 3, 0, 1 );
Index: predicttabwidget.cpp
===================================================================
RCS file: /cvs/opie/noncore/settings/netsystemtime/predicttabwidget.cpp,v
retrieving revision 1.4
diff -u -u -r1.4 predicttabwidget.cpp
--- predicttabwidget.cpp        15 Jun 2005 18:52:47 -0000      1.4
+++ predicttabwidget.cpp        19 Jul 2005 17:33:55 -0000
@@ -76,7 +76,7 @@
        // Prediction table
        tblLookups = new QTable( 2, 3, this );
        QFont font(  tblLookups->font() );
-       font.setPointSize( 7 );
+       font.setPointSize( font.pointSize() - 2 );
        tblLookups->setFont( font );
        tblLookups->horizontalHeader()->setLabel( 0, tr( "Shift [s/h]" ) );
        tblLookups->horizontalHeader()->setLabel( 1, tr( "Last [h]" ) );