forked from qt-creator/qt-creator
		
	Fixed switching header/source with additional dots in the filename
For example when a file was called test.something.cpp, it would search for test.h instead of test.something.h.
This commit is contained in:
		@@ -231,7 +231,7 @@ QString CppToolsPlugin::correspondingHeaderOrSourceI(const QString &fileName) co
 | 
			
		||||
        return QString();
 | 
			
		||||
 | 
			
		||||
    const QDir absoluteDir = fi.absoluteDir();
 | 
			
		||||
    const QString baseName = fi.baseName();
 | 
			
		||||
    const QString baseName = fi.completeBaseName();
 | 
			
		||||
    const QStringList suffixes = matchingCandidateSuffixes(mimeDatase, type);
 | 
			
		||||
 | 
			
		||||
    const QString privateHeaderSuffix = QLatin1String("_p");
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user