Commit c3fad8ab authored by Mathias Hasselmann's avatar Mathias Hasselmann Committed by hjk
Browse files

autotools: Properly filter .moc files

Change-Id: I2fc230868218313b9a3c5a005e0f72dac1d9f4d0
Reviewed-by: default avatarhjk <>
parent 3306cecd
......@@ -294,7 +294,7 @@ void AutotoolsProject::buildFileNodeTree(const QDir &directory,
FolderNode *oldParentFolder = 0;
foreach (const QString& file, files) {
if (file.contains(QLatin1String(".moc")))
if (file.endsWith(QLatin1String(".moc")))
QString subDir = baseDir + QLatin1Char('/') + file;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment