summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@qt.io>2016-06-08 16:14:04 +0200
committerMitch Curtis <mitch.curtis@qt.io>2016-06-10 06:59:42 +0000
commitea86f736404bab170ebfd75af6ee0f594e10f0f7 (patch)
tree2a4955fa042c39c172290e81bfb8d628c9f86f49 /src/corelib
parentfa8d16d4762d0107308dce85acc9879e272ab8dd (diff)
Mention extension in QFileInfo's suffix-related documentation
This makes it easier for users to find out how to get a file's extension when browsing docs. Change-Id: I08a1b620dea5432462133324824fae85754b9a09 Task-number: QTBUG-53380 Reviewed-by: Topi Reiniƶ <topi.reinio@theqtcompany.com>
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/io/qfileinfo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/io/qfileinfo.cpp b/src/corelib/io/qfileinfo.cpp
index dd194594c9..cb1ce6fd65 100644
--- a/src/corelib/io/qfileinfo.cpp
+++ b/src/corelib/io/qfileinfo.cpp
@@ -814,7 +814,7 @@ QString QFileInfo::completeBaseName() const
}
/*!
- Returns the complete suffix of the file.
+ Returns the complete suffix (extension) of the file.
The complete suffix consists of all characters in the file after
(but not including) the first '.'.
@@ -833,7 +833,7 @@ QString QFileInfo::completeSuffix() const
}
/*!
- Returns the suffix of the file.
+ Returns the suffix (extension) of the file.
The suffix consists of all characters in the file after (but not
including) the last '.'.