mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#5147 Use "PathId_000" as base for the path ids
This commit is contained in:
parent
0bd9ef925a
commit
7f393f5ad8
@ -1494,7 +1494,8 @@ public:
|
||||
private:
|
||||
QString createUnusedId()
|
||||
{
|
||||
QString pathIdentifier = PATHIDCHAR + pathIdBaseString + QString::number( m_nextValidIdNumber ) + PATHIDCHAR;
|
||||
QString numberString = QString( "%1" ).arg( (uint)m_nextValidIdNumber, 3, 10, QChar( '0' ) );
|
||||
QString pathIdentifier = PATHIDCHAR + pathIdBaseString + numberString + PATHIDCHAR;
|
||||
m_nextValidIdNumber++;
|
||||
return pathIdentifier;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user