Using default member initializers (available since C++11) in
OCC::FolderDefinition allows to remove its explicit default
constructor, which is favorable.
Signed-off-by: Stephan Beyer <s-beyer@gmx.net>
class FolderDefinition
{
public:
- FolderDefinition()
- : paused(false)
- , ignoreHiddenFiles(false)
- {
- }
-
/// The name of the folder in the ui and internally
QString alias;
/// path on local machine
/// path on remote
QString targetPath;
/// whether the folder is paused
- bool paused;
+ bool paused = false;
/// whether the folder syncs hidden files
- bool ignoreHiddenFiles;
+ bool ignoreHiddenFiles = false;
/// The CLSID where this folder appears in registry for the Explorer navigation pane entry.
QUuid navigationPaneClsid;