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 @@ -108,12 +108,13 @@ qDebug("CardViewLookNFeelPage::restoreSettings make base color configurable"); #ifndef KAB_EMBEDDED c = KGlobalSettings::baseColor(); #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"), config->readColorEntry( "TextColor", &c ) ) ); c = colorGroup().button(); 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 @@ -112,12 +112,13 @@ qDebug("LookAndFeelPage::restoreSettings make base color configurable"); #ifndef KAB_EMBEDDED c = KGlobalSettings::baseColor(); #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"), config->readColorEntry( "TextColor", &c ) ) ); c = colorGroup().button(); @@ -238,13 +239,14 @@ void LookAndFeelPage::initGUI() mNoneButton = new QRadioButton(i18n("None"), group, "mNoneButton"); 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); mBackgroundName->setFilter(KImageIO::pattern(KImageIO::Reading)); #endif //KAB_EMBEDDED |