Fix spelling errors in method names in QStorageInfo.
The methods retreiveVolumeInfo() and retreiveDiskFreeSpace() should be retrieveVolumeInfo() and retrieveDiskFreeSpace(). Task-number: QTBUG-42068 Change-Id: I86137fbff26c42c8cc8bad366a4733118d6ca292 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> Reviewed-by: Lars Knoll <lars.knoll@digia.com>
This commit is contained in:
parent
3361fcbc28
commit
4c144d006d
@ -73,14 +73,14 @@ public:
|
||||
|
||||
protected:
|
||||
#if defined(Q_OS_WIN) && !defined(Q_OS_WINCE) && !defined(Q_OS_WINRT)
|
||||
void retreiveVolumeInfo();
|
||||
void retreiveDiskFreeSpace();
|
||||
void retrieveVolumeInfo();
|
||||
void retrieveDiskFreeSpace();
|
||||
#elif defined(Q_OS_MAC)
|
||||
void retrievePosixInfo();
|
||||
void retrieveUrlProperties(bool initRootPath = false);
|
||||
void retrieveLabel();
|
||||
#elif defined(Q_OS_UNIX)
|
||||
void retreiveVolumeInfo();
|
||||
void retrieveVolumeInfo();
|
||||
#endif
|
||||
|
||||
public:
|
||||
|
@ -402,11 +402,11 @@ void QStorageInfoPrivate::doStat()
|
||||
if (rootPath.isEmpty())
|
||||
return;
|
||||
|
||||
retreiveVolumeInfo();
|
||||
retrieveVolumeInfo();
|
||||
name = retrieveLabel(device);
|
||||
}
|
||||
|
||||
void QStorageInfoPrivate::retreiveVolumeInfo()
|
||||
void QStorageInfoPrivate::retrieveVolumeInfo()
|
||||
{
|
||||
QT_STATFSBUF statfs_buf;
|
||||
int result;
|
||||
|
@ -114,12 +114,12 @@ void QStorageInfoPrivate::doStat()
|
||||
if (rootPath.isEmpty())
|
||||
return;
|
||||
|
||||
retreiveVolumeInfo();
|
||||
retrieveVolumeInfo();
|
||||
device = getDevice(rootPath);
|
||||
retreiveDiskFreeSpace();
|
||||
retrieveDiskFreeSpace();
|
||||
}
|
||||
|
||||
void QStorageInfoPrivate::retreiveVolumeInfo()
|
||||
void QStorageInfoPrivate::retrieveVolumeInfo()
|
||||
{
|
||||
const UINT oldmode = ::SetErrorMode(SEM_FAILCRITICALERRORS | SEM_NOOPENFILEERRORBOX);
|
||||
|
||||
@ -151,7 +151,7 @@ void QStorageInfoPrivate::retreiveVolumeInfo()
|
||||
::SetErrorMode(oldmode);
|
||||
}
|
||||
|
||||
void QStorageInfoPrivate::retreiveDiskFreeSpace()
|
||||
void QStorageInfoPrivate::retrieveDiskFreeSpace()
|
||||
{
|
||||
const UINT oldmode = ::SetErrorMode(SEM_FAILCRITICALERRORS | SEM_NOOPENFILEERRORBOX);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user