diff options
Diffstat (limited to 'src/widgets/dialogs/qfilesystemmodel.cpp')
-rw-r--r-- | src/widgets/dialogs/qfilesystemmodel.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/widgets/dialogs/qfilesystemmodel.cpp b/src/widgets/dialogs/qfilesystemmodel.cpp index 40cc100c53..06733a8932 100644 --- a/src/widgets/dialogs/qfilesystemmodel.cpp +++ b/src/widgets/dialogs/qfilesystemmodel.cpp @@ -95,16 +95,16 @@ QT_BEGIN_NAMESPACE A directory model that displays the contents of a default directory is usually constructed with a parent object: - \snippet doc/src/snippets/shareddirmodel/main.cpp 2 + \snippet shareddirmodel/main.cpp 2 A tree view can be used to display the contents of the model - \snippet doc/src/snippets/shareddirmodel/main.cpp 4 + \snippet shareddirmodel/main.cpp 4 and the contents of a particular directory can be displayed by setting the tree view's root index: - \snippet doc/src/snippets/shareddirmodel/main.cpp 7 + \snippet shareddirmodel/main.cpp 7 The view's root index can be used to control how much of a hierarchical model is displayed. QDirModel provides a convenience |