author | zautrix <zautrix> | 2005-04-01 14:55:11 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-04-01 14:55:11 (UTC) |
commit | 5d88f92b76a760f100384ea5fa6ed143088d19bb (patch) (side-by-side diff) | |
tree | fa12a6b8e82758774af98eaa0f45bed22e1cbc05 /kaddressbook | |
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 @@ -110,8 +110,9 @@ qDebug("CardViewLookNFeelPage::restoreSettings make base color configurable"); #else //KAB_EMBEDDED c = QColor(0,0,0); #endif //KAB_EMBEDDED + c = colorGroup().background(); lbColors->insertItem( new ColorListItem( i18n("Background Color"), config->readColorEntry( "BackgroundColor", &c ) ) ); c = colorGroup().foreground(); lbColors->insertItem( new ColorListItem( i18n("Text Color"), 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 @@ -114,8 +114,9 @@ qDebug("LookAndFeelPage::restoreSettings make base color configurable"); #else //KAB_EMBEDDED c = QColor(0,0,0); #endif //KAB_EMBEDDED + c = colorGroup().background(); lbColors->insertItem( new ColorListItem( i18n("Background Color"), config->readColorEntry( "BackgroundColor", &c ) ) ); c = colorGroup().foreground(); lbColors->insertItem( new ColorListItem( i18n("Text Color"), @@ -240,9 +241,10 @@ void LookAndFeelPage::initGUI() mBackgroundBox = new QCheckBox(i18n("Enable background image:"), generalTab, "mBackgroundBox"); connect(mBackgroundBox, SIGNAL(toggled(bool)), SLOT(enableBackgroundToggled(bool))); - + // LR image not implemented + mBackgroundBox->setEnabled( false ); mBackgroundName = new KURLRequester(generalTab, "mBackgroundName"); #ifndef KAB_EMBEDDED mBackgroundName->setMode(KFile::File | KFile::ExistingOnly | KFile::LocalOnly); |