Reviewing merge request #7: Put the launcher button in the middle of the quick launch bar, refresh quick launch bar contents if .desktop file directory contents change
Commits that would be merged:
Version 1
- a9945e3
- 0612af7
Changes: Put the launcher button in the middle of the quick launch bar, refresh quick launch bar contents if .desktop file directory contents change
Showing
a9945e3-0612af7Comments
+ QList<DuiWidget *> newWidgets;
I don’t think we should hard-code the number 4 in the middle of this function. There’s some chance that the number can change, so at least make it a named constant.
+ if (quickLaunchButtonLayout->count() == 2) {
What’s the meaning of number two? :)
+ protected slots:
What’s the purpose of this change?
Looks reasonable, please use named constants for the numbers (the names explain the purpose) and comment on the private->protected change (here, not in the code;)) and then push it.


Add a new comment:
Login or create an account to post a comment