D27019: Solid-device-automounter/kcm: Hide ignored Solid::StorageAccess

2020-02-02 Thread Méven Car
This revision was automatically updated to reflect the committed changes. Closed by commit R119:5eb5c9ab7d7e: Solid-device-automounter/kcm: Hide ignored Solid::StorageAccess (authored by meven). REPOSITORY R119 Plasma Desktop CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D27019?vs=74

D27019: Solid-device-automounter/kcm: Hide ignored Solid::StorageAccess

2020-01-31 Thread Méven Car
meven updated this revision to Diff 74767. meven added a comment. Don't list ignored devices as intended REPOSITORY R119 Plasma Desktop CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D27019?vs=74656&id=74767 BRANCH arcpatch-D27019 REVISION DETAIL https://phabricator.kde.org/D

D27019: Solid-device-automounter/kcm: Hide ignored Solid::StorageAccess

2020-01-30 Thread Nathaniel Graham
ngraham added a comment. +1 REPOSITORY R119 Plasma Desktop REVISION DETAIL https://phabricator.kde.org/D27019 To: meven, #plasma, broulik, ngraham, ervin Cc: plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, alexeymin, him

D27019: Solid-device-automounter/kcm: Hide ignored Solid::StorageAccess

2020-01-30 Thread Méven Car
meven added inline comments. INLINE COMMENTS > broulik wrote in DeviceModel.cpp:119 > Do we want to add items that are *not* a `StorageAccess`? > Shouldn't this be more like > > if (access && !access->isIgnored())` I needed to add the not mounted storage access as storage access ignores not

D27019: Solid-device-automounter/kcm: Hide ignored Solid::StorageAccess

2020-01-30 Thread Méven Car
meven updated this revision to Diff 74656. meven added a comment. Checking if this is a not-ignored or not mounted StorageAccess is what we need REPOSITORY R119 Plasma Desktop CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D27019?vs=74654&id=74656 BRANCH master REVISION DETAIL

D27019: Solid-device-automounter/kcm: Hide ignored Solid::StorageAccess

2020-01-30 Thread Méven Car
meven updated this revision to Diff 74654. meven marked an inline comment as done. meven added a comment. Only display device that are not ignored Solid::StorageVolume and Solid::StorageAccess REPOSITORY R119 Plasma Desktop CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D27019?vs=

D27019: Solid-device-automounter/kcm: Hide ignored Solid::StorageAccess

2020-01-30 Thread Kai Uwe Broulik
broulik added inline comments. INLINE COMMENTS > DeviceModel.cpp:119 > +const Solid::StorageAccess *access = dev.as(); > +if (access == nullptr || !access->isIgnored()) { > +beginInsertRows(index(0, 0), m_attached.size(), > m_attached.size()); Do we want to add items

D27019: Solid-device-automounter/kcm: Hide ignored Solid::StorageAccess

2020-01-30 Thread Méven Car
meven updated this revision to Diff 74649. meven added a comment. Separate foreach conversions REPOSITORY R119 Plasma Desktop CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D27019?vs=74647&id=74649 BRANCH master REVISION DETAIL https://phabricator.kde.org/D27019 AFFECTED FIL

D27019: Solid-device-automounter/kcm: Hide ignored Solid::StorageAccess

2020-01-30 Thread Kai Uwe Broulik
broulik added a comment. Can we do the foreach ports separately, please REPOSITORY R119 Plasma Desktop REVISION DETAIL https://phabricator.kde.org/D27019 To: meven, #plasma, broulik, ngraham Cc: plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, jraleigh, zachus, fbampaloukas, GB_2, ragr

D27019: Solid-device-automounter/kcm: Hide ignored Solid::StorageAccess

2020-01-30 Thread Méven Car
meven created this revision. meven added reviewers: Plasma, broulik, ngraham. Herald added a project: Plasma. Herald added a subscriber: plasma-devel. meven requested review of this revision. REVISION SUMMARY BUG: 396537 FIXED-IN: 5.18 REPOSITORY R119 Plasma Desktop BRANCH master REVISI