- Make default button work
- Move connection from cpp to .ui
- Slight label change
Details
Diff Detail
- Repository
- R119 Plasma Desktop
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
solid-device-automounter/kcm/DeviceAutomounterKCM.cpp | ||
---|---|---|
58 | Missing this as parent, this is leaked. Also I'd likely move that in the ctor initialization list (same thing for m_devices actually, maybe in another patch, your call). | |
116 | I'd store the result of the automountEnabled call in an intermediate variable, just to make things more readable. |
solid-device-automounter/kcm/DeviceAutomounterKCM.cpp | ||
---|---|---|
83 | We can also change kcfgc to add parent in constructor |
solid-device-automounter/kcm/DeviceAutomounterKCM.cpp | ||
---|---|---|
58 | I tend to consider this as a step back to be honest. Singletons tend to be more trouble down the line when something goes wrong. |
solid-device-automounter/kcm/DeviceAutomounterKCM.cpp | ||
---|---|---|
58 | Please beware this will make my patch quite a lot more intrusive, DeviceModel for instance, will need a field to keep some reference to the AutomounterSettings |
solid-device-automounter/kcm/DeviceAutomounterKCM.cpp | ||
---|---|---|
58 | Sure, moving away from a singleton is always intrusive (just like moving away from a global variable which it is really). Let's aim for it in a different specific patch. |
solid-device-automounter/kcm/DeviceAutomounterKCM.cpp | ||
---|---|---|
58 | Just waiting for this review then, I am preparing the next patch |