summaryrefslogtreecommitdiffabout
path: root/korganizer/navigatorbar.cpp
authorzautrix <zautrix>2005-02-08 16:40:46 (UTC)
committer zautrix <zautrix>2005-02-08 16:40:46 (UTC)
commit720510bf933a86211f8e9e2465788d141f0f1149 (patch) (side-by-side diff)
tree65fb4d3ab30fed082d8c8b513e1cbed910373178 /korganizer/navigatorbar.cpp
parent78c70cfbbe79243d8b0ec40f8f6438c99046e12b (diff)
downloadkdepimpi-720510bf933a86211f8e9e2465788d141f0f1149.zip
kdepimpi-720510bf933a86211f8e9e2465788d141f0f1149.tar.gz
kdepimpi-720510bf933a86211f8e9e2465788d141f0f1149.tar.bz2
ffff
Diffstat (limited to 'korganizer/navigatorbar.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/navigatorbar.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/korganizer/navigatorbar.cpp b/korganizer/navigatorbar.cpp
index 2b8fd4f..7ba97c8 100644
--- a/korganizer/navigatorbar.cpp
+++ b/korganizer/navigatorbar.cpp
@@ -62,10 +62,16 @@ NavigatorBar::NavigatorBar( const QDate & date, QWidget *parent, const char *nam
topLayout->addWidget( mCtrlFrame );
QFont tfont = KGlobalSettings::generalFont();//font();
- if ( QApplication::desktop()->width() >= 480 )
- tfont.setPointSize(tfont.pointSize()+2);
+ int add = 0;
+ if ( QApplication::desktop()->width() >= 480 ) {
+ add = 2;
+ if ( QString ( name ) == QString("useBigPixmaps") )
+ add += 2;
+ }
+ if ( add )
+ tfont.setPointSize(tfont.pointSize()+add);
tfont.setBold(true);
bool isRTL = KOGlobals::self()->reverseLayout();
#ifndef DESKTOP_VERSION