Skip to content

Commit

Permalink
message enhancement
Browse files Browse the repository at this point in the history
  • Loading branch information
VitorVieiraZ committed May 10, 2024
1 parent a6e12ab commit 4b76032
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions core/merginuserinfo.cpp
Expand Up @@ -221,8 +221,11 @@ void MerginUserInfo::setActiveWorkspace( int newWorkspace )
settings.setValue( "lastUsedWorkspace", mActiveWorkspace );
settings.endGroup();

CoreUtils::log( QStringLiteral( "Workspace Name" ), QStringLiteral( "%1" ).arg( activeWorkspaceName() ) );
CoreUtils::log( QStringLiteral( "Workspace ID" ), QStringLiteral( " %1" ).arg( newWorkspace ) );
QString logMessage = QStringLiteral( "Switched to workspace '%1' with ID %2" )
.arg( activeWorkspaceName() )
.arg( newWorkspace );

CoreUtils::log( QStringLiteral( "Workspace Switch" ), logMessage );

emit activeWorkspaceChanged();
}
Expand Down

0 comments on commit 4b76032

Please sign in to comment.