diff --git a/gio-qt/dgiofile.cpp b/gio-qt/dgiofile.cpp index ad8dfa8..d845d92 100644 --- a/gio-qt/dgiofile.cpp +++ b/gio-qt/dgiofile.cpp @@ -50,7 +50,7 @@ DGioFile::DGioFile(File* gmmFilePtr, QObject *parent) : QObject(parent) , d_ptr(new DGioFilePrivate(this, gmmFilePtr)) { - // gmountPtr must be vaild; + // gmountPtr must be valid; Q_CHECK_PTR(gmmFilePtr); } @@ -95,7 +95,7 @@ DGioFile *DGioFile::createFromUri(QString uri, QObject *parent) // ensure GIO got initialized Gio::init(); - // File::create_for_path never falls. + // File::create_for_uri never falls. Glib::RefPtr gmmFile = File::create_for_uri(uri.toStdString()); return new DGioFile(gmmFile.release(), parent); diff --git a/gio-qt/dgiomount.cpp b/gio-qt/dgiomount.cpp index 8b095b3..725c707 100644 --- a/gio-qt/dgiomount.cpp +++ b/gio-qt/dgiomount.cpp @@ -61,7 +61,7 @@ DGioMount::DGioMount(Mount* gmmMountPtr, QObject *parent) : QObject(parent) , d_ptr(new DGioMountPrivate(this, gmmMountPtr)) { - // gmountPtr must be vaild; + // gmountPtr must be valid; Q_CHECK_PTR(gmmMountPtr); } diff --git a/gio-qt/dgiovolume.cpp b/gio-qt/dgiovolume.cpp index 4a4f54f..c70c144 100644 --- a/gio-qt/dgiovolume.cpp +++ b/gio-qt/dgiovolume.cpp @@ -48,7 +48,7 @@ DGioVolume::DGioVolume(Volume* gmmVolumePtr, QObject *parent) : QObject(parent) , d_ptr(new DGioVolumePrivate(this, gmmVolumePtr)) { - // gvolumePtr must be vaild; + // gvolumePtr must be valid; Q_CHECK_PTR(gmmVolumePtr); }