workspace.cpp, Workspace::clientArea, extract duplicate code present in both if branches
Use more concise code to assign workArea The if-else statement in Workspace::clientAreacontains partially the same code in both branches. This merge request extracts the duplicate assignment and checks for null once and also replaces the if else statement with the ? operator. The execution logic of the code is unchanged.