ksysguard: replace tabs with space

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2022-12-03 01:12:15 +02:00
parent 4390ea265e
commit 542edaa1a6

View file

@ -298,8 +298,8 @@ bool Workspace::restoreWorkSheet( const QString &fileName, bool switchToTab)
QString baseName = fileName.right( fileName.length() - fileName.lastIndexOf( '/' ) - 1 );
foreach( WorkSheet *sheet, mSheetList ) {
if(sheet->fileName() == baseName)
return false; //Don't add the same sheet twice
if(sheet->fileName() == baseName)
return false; //Don't add the same sheet twice
}
WorkSheet *sheet = new WorkSheet( 0 );