author | zautrix <zautrix> | 2004-10-13 02:34:50 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-10-13 02:34:50 (UTC) |
commit | e7833b80c28e38bfe6316ee5fce150635cdebe03 (patch) (unidiff) | |
tree | bc52de370428ef240e370da516077e883283d398 /kaddressbook/details/detailsviewcontainer.cpp | |
parent | d56ca1073ce493afdeb54e33425638f7147d4bca (diff) | |
download | kdepimpi-e7833b80c28e38bfe6316ee5fce150635cdebe03.zip kdepimpi-e7833b80c28e38bfe6316ee5fce150635cdebe03.tar.gz kdepimpi-e7833b80c28e38bfe6316ee5fce150635cdebe03.tar.bz2 |
added font setting in KA
Diffstat (limited to 'kaddressbook/details/detailsviewcontainer.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | kaddressbook/details/detailsviewcontainer.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/kaddressbook/details/detailsviewcontainer.cpp b/kaddressbook/details/detailsviewcontainer.cpp index a42499f..ceffc77 100644 --- a/kaddressbook/details/detailsviewcontainer.cpp +++ b/kaddressbook/details/detailsviewcontainer.cpp | |||
@@ -107,27 +107,24 @@ void ViewContainer::slotStyleSelected( int index ) | |||
107 | KABC::Addressee addr; | 107 | KABC::Addressee addr; |
108 | 108 | ||
109 | if ( index >= 0 && index < mStyleCombo->count() ) { | 109 | if ( index >= 0 && index < mStyleCombo->count() ) { |
110 | if ( mCurrentLook != 0 ) { | 110 | if ( mCurrentLook != 0 ) { |
111 | mCurrentLook->saveSettings( config ); | 111 | mCurrentLook->saveSettings( config ); |
112 | addr = mCurrentLook->addressee(); | 112 | addr = mCurrentLook->addressee(); |
113 | 113 | ||
114 | delete mCurrentLook; | 114 | delete mCurrentLook; |
115 | mCurrentLook = 0; | 115 | mCurrentLook = 0; |
116 | } | 116 | } |
117 | 117 | ||
118 | KABLookFactory *factory = mLookFactories.at( index ); | 118 | KABLookFactory *factory = mLookFactories.at( index ); |
119 | kdDebug(5720) << "ViewContainer::slotStyleSelected: " | ||
120 | << "creating look " | ||
121 | << factory->description() << endl; | ||
122 | 119 | ||
123 | mCurrentLook = factory->create(); | 120 | mCurrentLook = factory->create(); |
124 | mDetailsStack->raiseWidget( mCurrentLook ); | 121 | mDetailsStack->raiseWidget( mCurrentLook ); |
125 | 122 | ||
126 | connect( mCurrentLook, SIGNAL( sendEmail( const QString& ) ), this, | 123 | connect( mCurrentLook, SIGNAL( sendEmail( const QString& ) ), this, |
127 | SIGNAL( sendEmail( const QString& ) ) ); | 124 | SIGNAL( sendEmail( const QString& ) ) ); |
128 | connect( mCurrentLook, SIGNAL( browse( const QString& ) ), this, | 125 | connect( mCurrentLook, SIGNAL( browse( const QString& ) ), this, |
129 | SIGNAL( browse( const QString& ) ) ); | 126 | SIGNAL( browse( const QString& ) ) ); |
130 | } | 127 | } |
131 | 128 | ||
132 | mCurrentLook->restoreSettings( config ); | 129 | mCurrentLook->restoreSettings( config ); |
133 | mCurrentLook->setAddressee( addr ); | 130 | mCurrentLook->setAddressee( addr ); |