forked from mirrors/gio-qt
fix: typo in comment
This commit is contained in:
parent
e4f011ff73
commit
6d6c50e40e
3 changed files with 4 additions and 4 deletions
|
@ -50,7 +50,7 @@ DGioFile::DGioFile(File* gmmFilePtr, QObject *parent)
|
||||||
: QObject(parent)
|
: QObject(parent)
|
||||||
, d_ptr(new DGioFilePrivate(this, gmmFilePtr))
|
, d_ptr(new DGioFilePrivate(this, gmmFilePtr))
|
||||||
{
|
{
|
||||||
// gmountPtr must be vaild;
|
// gmountPtr must be valid;
|
||||||
Q_CHECK_PTR(gmmFilePtr);
|
Q_CHECK_PTR(gmmFilePtr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -95,7 +95,7 @@ DGioFile *DGioFile::createFromUri(QString uri, QObject *parent)
|
||||||
// ensure GIO got initialized
|
// ensure GIO got initialized
|
||||||
Gio::init();
|
Gio::init();
|
||||||
|
|
||||||
// File::create_for_path never falls.
|
// File::create_for_uri never falls.
|
||||||
Glib::RefPtr<File> gmmFile = File::create_for_uri(uri.toStdString());
|
Glib::RefPtr<File> gmmFile = File::create_for_uri(uri.toStdString());
|
||||||
|
|
||||||
return new DGioFile(gmmFile.release(), parent);
|
return new DGioFile(gmmFile.release(), parent);
|
||||||
|
|
|
@ -61,7 +61,7 @@ DGioMount::DGioMount(Mount* gmmMountPtr, QObject *parent)
|
||||||
: QObject(parent)
|
: QObject(parent)
|
||||||
, d_ptr(new DGioMountPrivate(this, gmmMountPtr))
|
, d_ptr(new DGioMountPrivate(this, gmmMountPtr))
|
||||||
{
|
{
|
||||||
// gmountPtr must be vaild;
|
// gmountPtr must be valid;
|
||||||
Q_CHECK_PTR(gmmMountPtr);
|
Q_CHECK_PTR(gmmMountPtr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -48,7 +48,7 @@ DGioVolume::DGioVolume(Volume* gmmVolumePtr, QObject *parent)
|
||||||
: QObject(parent)
|
: QObject(parent)
|
||||||
, d_ptr(new DGioVolumePrivate(this, gmmVolumePtr))
|
, d_ptr(new DGioVolumePrivate(this, gmmVolumePtr))
|
||||||
{
|
{
|
||||||
// gvolumePtr must be vaild;
|
// gvolumePtr must be valid;
|
||||||
Q_CHECK_PTR(gmmVolumePtr);
|
Q_CHECK_PTR(gmmVolumePtr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue