From 8e95dc0968c7660410db954c13545667dbea8ad7 Mon Sep 17 00:00:00 2001 From: Alexis Menard Date: Mon, 11 May 2009 16:58:26 +0200 Subject: Remove a warning on gcc. We don't need Q_D if we don't use the d pointer. Reviewed-by:TrustMe --- src/corelib/io/qfileinfo.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/corelib/io/qfileinfo.cpp b/src/corelib/io/qfileinfo.cpp index a8d28cb..36b1ed8 100644 --- a/src/corelib/io/qfileinfo.cpp +++ b/src/corelib/io/qfileinfo.cpp @@ -571,7 +571,6 @@ void QFileInfo::setFile(const QFile &file) void QFileInfo::setFile(const QDir &dir, const QString &file) { - Q_D(QFileInfo); *this = QFileInfo(dir.filePath(file)); } -- cgit v0.12