mirror of
https://bitbucket.org/smil3y/kde-extraapps.git
synced 2025-02-23 18:32:53 +00:00
kdeplasma-addons: handle Plasma::FormFactor::Application in ShowDesktop::sizeHint()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
593621e309
commit
af794e5fed
1 changed files with 1 additions and 0 deletions
|
@ -111,6 +111,7 @@ QSizeF ShowDesktop::sizeHint(Qt::SizeHint which, const QSizeF & constraint) cons
|
|||
if (which == Qt::PreferredSize) {
|
||||
int iconSize = 0;
|
||||
switch (formFactor()) {
|
||||
case Plasma::Application:
|
||||
case Plasma::Planar:
|
||||
case Plasma::MediaCenter: {
|
||||
iconSize = IconSize(KIconLoader::Desktop);
|
||||
|
|
Loading…
Add table
Reference in a new issue