Review Request: The KSystemActivityDialog uses MB as default unit.
Aaron Seigo
aseigo at kde.org
Mon Nov 29 00:39:48 CET 2010
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://svn.reviewboard.kde.org/r/6007/#review9030
-----------------------------------------------------------
i think the real problem is in KSysGuardProcessList::loadSettings(const KConfigGroup &cg) where it uses hard coded defaults such as this line:
setUnits((ProcessModel::Units) cg.readEntry("units", (int)ProcessModel::UnitsKB));
it should be possible to do:
m_processList.setUnits(ProcessModel::UnitsMB);
m_processList.loadSettings(config);
and have the current settings used as the defaults. the hardcoded defaults can be set up in the ctor of KSysGuardProcessList. so the setUnits line above would become:
setUnits((ProcessModel::Units) cg.readEntry("units", (int)d->m_model.units()));
thoughts?
- Aaron
On 2010-11-28 23:31:11, Matthias Fuchs wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://svn.reviewboard.kde.org/r/6007/
> -----------------------------------------------------------
>
> (Updated 2010-11-28 23:31:11)
>
>
> Review request for Plasma, Aaron Seigo and John Tapsell.
>
>
> Summary
> -------
>
> The KSystemActivityDialog uses MB as default unit.
> BUG:222022
>
>
> This addresses bug 222022.
> https://bugs.kde.org/show_bug.cgi?id=222022
>
>
> Diffs
> -----
>
> /trunk/KDE/kdebase/workspace/krunner/ksystemactivitydialog.cpp 1201754
>
> Diff: http://svn.reviewboard.kde.org/r/6007/diff
>
>
> Testing
> -------
>
>
> Thanks,
>
> Matthias
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/plasma-devel/attachments/20101128/4d44b8fc/attachment.htm
More information about the Plasma-devel
mailing list