Add missing returns.
CCMAIL:notmart@gmail.com
This commit is contained in:
parent
8c252e6c17
commit
915598dca2
@ -165,9 +165,9 @@ void PanelView::setThickness(int value)
|
||||
int PanelView::length() const
|
||||
{
|
||||
if (formFactor() == Plasma::Types::Vertical) {
|
||||
config().readEntry<int>("length", screen()->size().height());
|
||||
return config().readEntry<int>("length", screen()->size().height());
|
||||
} else {
|
||||
config().readEntry<int>("length", screen()->size().width());
|
||||
return config().readEntry<int>("length", screen()->size().width());
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user