author | zautrix <zautrix> | 2005-04-01 14:55:11 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-04-01 14:55:11 (UTC) |
commit | 5d88f92b76a760f100384ea5fa6ed143088d19bb (patch) (unidiff) | |
tree | fa12a6b8e82758774af98eaa0f45bed22e1cbc05 | |
parent | e5ec0ef6a256b96a758815ef861526f53d1ad7a5 (diff) | |
download | kdepimpi-5d88f92b76a760f100384ea5fa6ed143088d19bb.zip kdepimpi-5d88f92b76a760f100384ea5fa6ed143088d19bb.tar.gz kdepimpi-5d88f92b76a760f100384ea5fa6ed143088d19bb.tar.bz2 |
fix
-rw-r--r-- | kaddressbook/views/configurecardviewdialog.cpp | 1 | ||||
-rw-r--r-- | kaddressbook/views/configuretableviewdialog.cpp | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/kaddressbook/views/configurecardviewdialog.cpp b/kaddressbook/views/configurecardviewdialog.cpp index d518cf7..366e54c 100644 --- a/kaddressbook/views/configurecardviewdialog.cpp +++ b/kaddressbook/views/configurecardviewdialog.cpp | |||
@@ -111,6 +111,7 @@ qDebug("CardViewLookNFeelPage::restoreSettings make base color configurable"); | |||
111 | c = QColor(0,0,0); | 111 | c = QColor(0,0,0); |
112 | #endif //KAB_EMBEDDED | 112 | #endif //KAB_EMBEDDED |
113 | 113 | ||
114 | c = colorGroup().background(); | ||
114 | lbColors->insertItem( new ColorListItem( i18n("Background Color"), | 115 | lbColors->insertItem( new ColorListItem( i18n("Background Color"), |
115 | config->readColorEntry( "BackgroundColor", &c ) ) ); | 116 | config->readColorEntry( "BackgroundColor", &c ) ) ); |
116 | c = colorGroup().foreground(); | 117 | c = colorGroup().foreground(); |
diff --git a/kaddressbook/views/configuretableviewdialog.cpp b/kaddressbook/views/configuretableviewdialog.cpp index cd09bcf..8bcceb2 100644 --- a/kaddressbook/views/configuretableviewdialog.cpp +++ b/kaddressbook/views/configuretableviewdialog.cpp | |||
@@ -115,6 +115,7 @@ qDebug("LookAndFeelPage::restoreSettings make base color configurable"); | |||
115 | c = QColor(0,0,0); | 115 | c = QColor(0,0,0); |
116 | #endif //KAB_EMBEDDED | 116 | #endif //KAB_EMBEDDED |
117 | 117 | ||
118 | c = colorGroup().background(); | ||
118 | lbColors->insertItem( new ColorListItem( i18n("Background Color"), | 119 | lbColors->insertItem( new ColorListItem( i18n("Background Color"), |
119 | config->readColorEntry( "BackgroundColor", &c ) ) ); | 120 | config->readColorEntry( "BackgroundColor", &c ) ) ); |
120 | c = colorGroup().foreground(); | 121 | c = colorGroup().foreground(); |
@@ -241,7 +242,8 @@ void LookAndFeelPage::initGUI() | |||
241 | "mBackgroundBox"); | 242 | "mBackgroundBox"); |
242 | connect(mBackgroundBox, SIGNAL(toggled(bool)), | 243 | connect(mBackgroundBox, SIGNAL(toggled(bool)), |
243 | SLOT(enableBackgroundToggled(bool))); | 244 | SLOT(enableBackgroundToggled(bool))); |
244 | 245 | // LR image not implemented | |
246 | mBackgroundBox->setEnabled( false ); | ||
245 | mBackgroundName = new KURLRequester(generalTab, "mBackgroundName"); | 247 | mBackgroundName = new KURLRequester(generalTab, "mBackgroundName"); |
246 | #ifndef KAB_EMBEDDED | 248 | #ifndef KAB_EMBEDDED |
247 | mBackgroundName->setMode(KFile::File | KFile::ExistingOnly | | 249 | mBackgroundName->setMode(KFile::File | KFile::ExistingOnly | |