D8450: User can now hide an entire places group from KFilePlacesView

2017-12-08 Thread Franck Arrecot
This revision was automatically updated to reflect the committed changes. Closed by commit R241:b8bd61c3650c: User can now hide an entire places group from KFilePlacesView (authored by franckarrecot). REPOSITORY R241 KIO CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D8450?vs=23630&id

D8450: User can now hide an entire places group from KFilePlacesView

2017-12-08 Thread Franck Arrecot
franckarrecot updated this revision to Diff 23630. franckarrecot added a comment. corrected and rebased REPOSITORY R241 KIO CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D8450?vs=23410&id=23630 REVISION DETAIL https://phabricator.kde.org/D8450 AFFECTED FILES autotests/kfilep

D8450: User can now hide an entire places group from KFilePlacesView

2017-12-07 Thread Renato Oliveira Filho
renatoo added a dependent revision: D9241: Emit 'groupHiddenChanged' signal.. REPOSITORY R241 KIO REVISION DETAIL https://phabricator.kde.org/D8450 To: franckarrecot, ngraham, renatoo, ervin, mwolff, mlaurent Cc: mwolff, #frameworks

D8450: User can now hide an entire places group from KFilePlacesView

2017-12-06 Thread Renato Oliveira Filho
renatoo accepted this revision. renatoo added a comment. Looks good and work as expected INLINE COMMENTS > kfileplacesview.cpp:766 > +} > if (!clickOverHeader && index.isValid()) { > if (!placesModel->isDevice(index)) { I think that you can replace if (!clickOverHeader &&

D8450: User can now hide an entire places group from KFilePlacesView

2017-12-06 Thread Milian Wolff
mwolff accepted this revision. mwolff added a comment. This revision is now accepted and ready to land. one minor nit, otherwise lgtm INLINE COMMENTS > kfileplacesmodel.cpp:431 > +QModelIndexList indexes; > +for (int row = 0; row < rowCount(); ++row) { > +const QModelIndex cur

D8450: User can now hide an entire places group from KFilePlacesView

2017-12-06 Thread Laurent Montel
mlaurent accepted this revision. mlaurent added inline comments. INLINE COMMENTS > ervin wrote in kfileplacesview.cpp:863-866 > This duplicates code from the next if branch below... I wonder if before or > after that commit we shouldn't try to refactor that and remove some of the > code duplica

D8450: User can now hide an entire places group from KFilePlacesView

2017-12-04 Thread Franck Arrecot
franckarrecot updated this revision to Diff 23410. franckarrecot added a comment. rebase to master REPOSITORY R241 KIO CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D8450?vs=23025&id=23410 REVISION DETAIL https://phabricator.kde.org/D8450 AFFECTED FILES autotests/kfileplaces

D8450: User can now hide an entire places group from KFilePlacesView

2017-11-28 Thread Kevin Ottens
ervin accepted this revision. REPOSITORY R241 KIO REVISION DETAIL https://phabricator.kde.org/D8450 To: franckarrecot, ngraham, renatoo, ervin, mwolff, mlaurent Cc: mwolff, #frameworks

D8450: User can now hide an entire places group from KFilePlacesView

2017-11-27 Thread Franck Arrecot
franckarrecot updated this revision to Diff 23025. franckarrecot marked an inline comment as done. franckarrecot added a comment. update, have to wait to be pushed, since it contains i18n translation, next week: in the first two weeks after the first saturday of the month REPOSITORY R241

D8450: User can now hide an entire places group from KFilePlacesView

2017-11-27 Thread Franck Arrecot
franckarrecot marked an inline comment as done. franckarrecot added inline comments. INLINE COMMENTS > ervin wrote in kfileplacesview.cpp:863-866 > Cool, I'll wait for that extra review to appear before accepting that one. So > that we don't forget it. :-) Was that the thing you had in mind ?

D8450: User can now hide an entire places group from KFilePlacesView

2017-11-27 Thread Franck Arrecot
franckarrecot added a dependent revision: D9015: Refactoring the hidding/showing animation use within KFilePlacesView. REPOSITORY R241 KIO REVISION DETAIL https://phabricator.kde.org/D8450 To: franckarrecot, ngraham, renatoo, ervin, mwolff, mlaurent Cc: mwolff, #frameworks

D8450: User can now hide an entire places group from KFilePlacesView

2017-11-27 Thread Franck Arrecot
franckarrecot updated this revision to Diff 22999. franckarrecot added a comment. now related to the refactoring commit coming after REPOSITORY R241 KIO CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D8450?vs=22902&id=22999 REVISION DETAIL https://phabricator.kde.org/D8450 AFFE

D8450: User can now hide an entire places group from KFilePlacesView

2017-11-27 Thread Franck Arrecot
franckarrecot edited the summary of this revision. franckarrecot added dependencies: D8948: Created an auxiliary function 'KFilePlacesModel::movePlace', D8947: Expose KFilePlacesModel 'iconName' role, D8946: Avoid unnecessary 'dataChanged' signal, D8945: Return a valid bookmark object for any e

D8450: User can now hide an entire places group from KFilePlacesView

2017-11-26 Thread Kevin Ottens
ervin added inline comments. INLINE COMMENTS > franckarrecot wrote in kfileplacesview.cpp:863-866 > Oki I add that to my list :-) Cool, I'll wait for that extra review to appear before accepting that one. So that we don't forget it. :-) REPOSITORY R241 KIO REVISION DETAIL https://phabrica

D8450: User can now hide an entire places group from KFilePlacesView

2017-11-24 Thread Franck Arrecot
franckarrecot added inline comments. INLINE COMMENTS > ervin wrote in kfileplacesview.cpp:863-866 > I still stand by that comment, I'd welcome a patch on top of that one to > reduce that duplication please. Oki I add that to my list :-) > ervin wrote in kfileplacesview.cpp:298 > That smells st

D8450: User can now hide an entire places group from KFilePlacesView

2017-11-24 Thread Franck Arrecot
franckarrecot marked 3 inline comments as done. REPOSITORY R241 KIO REVISION DETAIL https://phabricator.kde.org/D8450 To: franckarrecot, ngraham, renatoo, ervin, mwolff, mlaurent Cc: mwolff, #frameworks

D8450: User can now hide an entire places group from KFilePlacesView

2017-11-24 Thread Franck Arrecot
franckarrecot updated this revision to Diff 22902. franckarrecot marked an inline comment as done. franckarrecot added a comment. rebased over in review renato 's patches REPOSITORY R241 KIO CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D8450?vs=22734&id=22902 REVISION DETAIL h

D8450: User can now hide an entire places group from KFilePlacesView

2017-11-24 Thread Kevin Ottens
ervin requested changes to this revision. ervin added inline comments. This revision now requires changes to proceed. INLINE COMMENTS > ervin wrote in kfileplacesview.cpp:863-866 > This duplicates code from the next if branch below... I wonder if before or > after that commit we shouldn't try to

D8450: User can now hide an entire places group from KFilePlacesView

2017-11-22 Thread Franck Arrecot
franckarrecot updated this revision to Diff 22734. franckarrecot added a comment. update REPOSITORY R241 KIO CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D8450?vs=21644&id=22734 REVISION DETAIL https://phabricator.kde.org/D8450 AFFECTED FILES autotests/kfileplacesmodeltest.

D8450: User can now hide an entire places group from KFilePlacesView

2017-11-22 Thread Franck Arrecot
franckarrecot commandeered this revision. franckarrecot edited reviewers, added: mlaurent; removed: franckarrecot. REVISION DETAIL https://phabricator.kde.org/D8450 To: franckarrecot, ngraham, renatoo, ervin, mwolff, mlaurent Cc: mwolff, #frameworks

D8450: User can now hide an entire places group from KFilePlacesView

2017-11-22 Thread Franck Arrecot
franckarrecot added inline comments. INLINE COMMENTS > mwolff wrote in kfileplacesview.cpp:298 > the reserve + loop should be the same as doing > > m_disappearingItems += indexesGroup; I'm filling a list of persistant indexes with regular indexes that is why I use the loop, if you have any o

D8450: User can now hide an entire places group from KFilePlacesView

2017-11-15 Thread Milian Wolff
mwolff requested changes to this revision. mwolff added a comment. This revision now requires changes to proceed. please use arc, or add more context to your patches in the future INLINE COMMENTS > kfileplacesview.cpp:298 > + > +m_disappearingItems.reserve(m_disappearingItems.count() + >

D8450: User can now hide an entire places group from KFilePlacesView

2017-11-03 Thread Nathaniel Graham
ngraham added a dependent revision: D8619: Refactor and remove duplicate code in kfileplacesview. REVISION DETAIL https://phabricator.kde.org/D8450 To: mlaurent, ngraham, renatoo, franckarrecot, ervin Cc: #frameworks

D8450: User can now hide an entire places group from KFilePlacesView

2017-11-03 Thread Nathaniel Graham
ngraham edited the summary of this revision. ngraham added a dependency: D8367: Hidding place groups implementation in KFilePlacesModel. REVISION DETAIL https://phabricator.kde.org/D8450 To: mlaurent, ngraham, renatoo, franckarrecot, ervin Cc: #frameworks

D8450: User can now hide an entire places group from KFilePlacesView

2017-11-02 Thread Kevin Ottens
ervin accepted this revision. This revision is now accepted and ready to land. REVISION DETAIL https://phabricator.kde.org/D8450 To: mlaurent, ngraham, renatoo, franckarrecot, ervin Cc: #frameworks

D8450: User can now hide an entire places group from KFilePlacesView

2017-10-31 Thread Laurent Montel
mlaurent updated this revision to Diff 21644. mlaurent added a comment. Autotest GroupIndexes CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D8450?vs=21612&id=21644 REVISION DETAIL https://phabricator.kde.org/D8450 AFFECTED FILES autotests/kfileplacesmodeltest.cpp src/filewidg

D8450: User can now hide an entire places group from KFilePlacesView

2017-10-31 Thread Kevin Ottens
ervin requested changes to this revision. ervin added a comment. This revision now requires changes to proceed. At least the unit test would be welcome, I let you decide on the other comment. INLINE COMMENTS > kfileplacesmodel.cpp:329 > > +QModelIndexList KFilePlacesModel::groupIndexes(con

D8450: User can now hide an entire places group from KFilePlacesView

2017-10-31 Thread Laurent Montel
mlaurent updated this revision to Diff 21612. mlaurent added a comment. Minor optimization. CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D8450?vs=21291&id=21612 REVISION DETAIL https://phabricator.kde.org/D8450 AFFECTED FILES src/filewidgets/kfileplacesmodel.cpp src/filewidg

D8450: User can now hide an entire places group from KFilePlacesView

2017-10-31 Thread Laurent Montel
mlaurent edited the test plan for this revision. REPOSITORY R241 KIO REVISION DETAIL https://phabricator.kde.org/D8450 To: mlaurent, ngraham, renatoo, franckarrecot Cc: #frameworks

D8450: User can now hide an entire places group from KFilePlacesView

2017-10-31 Thread Laurent Montel
mlaurent added a reviewer: ervin. REPOSITORY R241 KIO REVISION DETAIL https://phabricator.kde.org/D8450 To: mlaurent, ngraham, renatoo, franckarrecot, ervin Cc: #frameworks

D8450: User can now hide an entire places group from KFilePlacesView

2017-10-31 Thread Laurent Montel
mlaurent edited the test plan for this revision. REPOSITORY R241 KIO REVISION DETAIL https://phabricator.kde.org/D8450 To: mlaurent, ngraham, renatoo, franckarrecot Cc: #frameworks

D8450: User can now hide an entire places group from KFilePlacesView

2017-10-31 Thread Laurent Montel
mlaurent commandeered this revision. mlaurent edited reviewers, added: franckarrecot; removed: mlaurent. REPOSITORY R241 KIO REVISION DETAIL https://phabricator.kde.org/D8450 To: mlaurent, ngraham, renatoo, franckarrecot Cc: #frameworks

D8450: User can now hide an entire places group from KFilePlacesView

2017-10-25 Thread Franck Arrecot
franckarrecot added a comment. I will add pics soonish REPOSITORY R241 KIO REVISION DETAIL https://phabricator.kde.org/D8450 To: franckarrecot, ngraham, renatoo, mlaurent Cc: #frameworks

D8450: User can now hide an entire places group from KFilePlacesView

2017-10-25 Thread Franck Arrecot
franckarrecot updated this revision to Diff 21291. franckarrecot added a comment. updated according to comments REPOSITORY R241 KIO CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D8450?vs=21244&id=21291 REVISION DETAIL https://phabricator.kde.org/D8450 AFFECTED FILES src/file

D8450: User can now hide an entire places group from KFilePlacesView

2017-10-25 Thread Franck Arrecot
franckarrecot retitled this revision from "User can now hide an entire places group" to "User can now hide an entire places group from KFilePlacesView". REPOSITORY R241 KIO REVISION DETAIL https://phabricator.kde.org/D8450 To: franckarrecot, ngraham, renatoo, mlaurent Cc: #frameworks