author | zautrix <zautrix> | 2005-02-08 16:58:16 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-02-08 16:58:16 (UTC) |
commit | 126b79abd88bb13ab41c4d987ee759eb9ba7d483 (patch) (side-by-side diff) | |
tree | 45d26727b41c6f344152ed3f4ee1dd4bc97d58b0 | |
parent | 720510bf933a86211f8e9e2465788d141f0f1149 (diff) | |
download | kdepimpi-126b79abd88bb13ab41c4d987ee759eb9ba7d483.zip kdepimpi-126b79abd88bb13ab41c4d987ee759eb9ba7d483.tar.gz kdepimpi-126b79abd88bb13ab41c4d987ee759eb9ba7d483.tar.bz2 |
ffff
-rw-r--r-- | korganizer/navigatorbar.cpp | 12 | ||||
-rw-r--r-- | microkde/kdatetbl.cpp | 4 |
2 files changed, 5 insertions, 11 deletions
diff --git a/korganizer/navigatorbar.cpp b/korganizer/navigatorbar.cpp index 7ba97c8..b591232 100644 --- a/korganizer/navigatorbar.cpp +++ b/korganizer/navigatorbar.cpp @@ -64,11 +64,5 @@ NavigatorBar::NavigatorBar( const QDate & date, QWidget *parent, const char *nam - QFont tfont = KGlobalSettings::generalFont();//font(); - int add = 0; - if ( QApplication::desktop()->width() >= 480 ) { - add = 2; - if ( QString ( name ) == QString("useBigPixmaps") ) - add += 2; - } - if ( add ) - tfont.setPointSize(tfont.pointSize()+add); + QFont tfont = font(); + if ( QApplication::desktop()->width() >= 480 ) + tfont.setPointSize(tfont.pointSize()+2); tfont.setBold(true); diff --git a/microkde/kdatetbl.cpp b/microkde/kdatetbl.cpp index 990cfb9..a9924ba 100644 --- a/microkde/kdatetbl.cpp +++ b/microkde/kdatetbl.cpp @@ -458,3 +458,3 @@ KDateInternalMonthPicker::KDateInternalMonthPicker if ( QApplication::desktop()->width() >= 480 && QApplication::desktop()->width() <= 640 ) - add += 6; + add += 8; font.setPointSize(fontsize+add); @@ -780,3 +780,3 @@ KDateInternalWeekPicker::KDateInternalWeekPicker if ( QApplication::desktop()->width() >= 480 && QApplication::desktop()->width() <= 640 ) - add += 4; + add += 6; font.setPointSize(fontsize+add); |