Diffusion Muon 4f8476c11819

Summary: emit currentPackageChanged just once

Authored by vanini on Mar 8 2018, 9:09 AM.

Description

Summary: emit currentPackageChanged just once

Summary:
Before, when a package was selected, currentPackageChanged was emitted
once from currentChanged and once from selectionChanged for the same
package.
Now it is emitted when the selection changes. It is still emitted for an
already-current package, but we need that to get the correct buttons
shown in PackageWidget when we deselect all packages except one from a
multi-selection.

Test Plan:
Add qDebug or breakpoint in PackageWidget::packageActivated.
Run and select packages in the list view.

Reviewers: sitter

Reviewed By: sitter

Differential Revision: https://phabricator.kde.org/D11152

Details

Committed
vaniniMar 14 2018, 5:57 PM
Reviewer
sitter
Differential Revision
D11152: Summary: emit currentPackageChanged just once
Parents
R550:f391c33cd110: GIT_SILENT made messages (after extraction)
Branches
Unknown
Tags
Unknown