summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorAlexis Menard <alexis.menard@nokia.com>2009-05-11 14:58:26 (GMT)
committerAlexis Menard <alexis.menard@nokia.com>2009-05-11 14:58:26 (GMT)
commit8e95dc0968c7660410db954c13545667dbea8ad7 (patch)
tree3cb5fc4c8873c40529f168add0badd3d6710f938 /src/corelib
parent23b5d04f75766fb2046007881c90e00855eee7c8 (diff)
downloadQt-8e95dc0968c7660410db954c13545667dbea8ad7.zip
Qt-8e95dc0968c7660410db954c13545667dbea8ad7.tar.gz
Qt-8e95dc0968c7660410db954c13545667dbea8ad7.tar.bz2
Remove a warning on gcc.
We don't need Q_D if we don't use the d pointer. Reviewed-by:TrustMe
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/io/qfileinfo.cpp1
1 files changed, 0 insertions, 1 deletions
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));
}