[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdelibs/kdeui
From: Benjamin Meyer <benjamin () csh ! rit ! edu>
Date: 2003-06-30 20:04:29
[Download RAW message or body]
CVS commit by bmeyer:
revert untill I can fully diagram it out.
i.e. Removes half of the reason it is there, but at least this doesn't
break for users
M +3 -16 ktoolbar.cpp 1.349
--- kdelibs/kdeui/ktoolbar.cpp #1.348:1.349
@@ -96,11 +96,12 @@ public:
modified = m_isHorizontal = positioned = FALSE;
- HiddenDefault = false;
IconSizeDefault = 0;
IconTextDefault = "IconOnly";
+
IndexDefault = -1;
NewLineDefault = false;
OffsetDefault = -1;
PositionDefault = "Top";
+ HiddenDefault = false;
idleButtons.setAutoDelete(true);
}
@@ -1110,36 +1111,22 @@ void KToolBar::saveSettings(KConfig *con
if ( position != d->PositionDefault )
config->writeEntry("Position", position);
- else
- config->revertToDefault("Position");
if ( icontext != d->IconTextDefault )
config->writeEntry("IconText", icontext);
- else
- config->revertToDefault("IconText");
if ( iconSize() != d->IconSizeDefault )
config->writeEntry("IconSize", iconSize());
- else
- config->revertToDefault("IconSize");
if ( isHidden() != d->HiddenDefault )
config->writeEntry("Hidden", isHidden());
- else
- config->revertToDefault("Hidden");
if ( index != d->IndexDefault )
config->writeEntry( "Index", index );
- else
- config->revertToDefault("Index");
if ( offset() != d->OffsetDefault )
config->writeEntry( "Offset", offset() );
- else
- config->revertToDefault("Offset");
if ( newLine() != d->NewLineDefault )
config->writeEntry( "NewLine", newLine() );
- else
- config->revertToDefault("NewLine");
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic