Removed redundant Qt check and other fixes
This removes a redundant check and moves part of the code to a separate function.
Please register or sign in to comment
This removes a redundant check and moves part of the code to a separate function.