Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Unmaintained
KDE Pim
Commits
90c85c58
Commit
90c85c58
authored
Dec 20, 2012
by
Laurent Montel
😁
Browse files
Start to fix Bug 311994 - IMAP quota isn't displayed in some cases
Fix when it's overquota BUG: 311994
parent
243349c7
Changes
1
Hide whitespace changes
Inline
Side-by-side
kmail/collectionquotapage.cpp
View file @
90c85c58
...
@@ -70,7 +70,8 @@ void CollectionQuotaPage::load( const Akonadi::Collection & col )
...
@@ -70,7 +70,8 @@ void CollectionQuotaPage::load( const Akonadi::Collection & col )
if
(
col
.
hasAttribute
<
Akonadi
::
CollectionQuotaAttribute
>
()
)
{
if
(
col
.
hasAttribute
<
Akonadi
::
CollectionQuotaAttribute
>
()
)
{
const
qint64
currentValue
=
col
.
attribute
<
Akonadi
::
CollectionQuotaAttribute
>
()
->
currentValue
();
const
qint64
currentValue
=
col
.
attribute
<
Akonadi
::
CollectionQuotaAttribute
>
()
->
currentValue
();
const
qint64
maximumValue
=
col
.
attribute
<
Akonadi
::
CollectionQuotaAttribute
>
()
->
maximumValue
();
const
qint64
maximumValue
=
col
.
attribute
<
Akonadi
::
CollectionQuotaAttribute
>
()
->
maximumValue
();
mQuotaWidget
->
setQuotaInfo
(
currentValue
,
maximumValue
);
//Test over quota.
mQuotaWidget
->
setQuotaInfo
(
qMin
(
currentValue
,
maximumValue
),
maximumValue
);
}
}
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment