Fixes: Some dialog icon issues

The Window Icons were not being used for profile_preferences dialog or
for the Central Debug console.  In the former it transpires the icon
was loaded from a relative file reference and not from the resource
file (and also for the icon for mudlet_custom_exit_properties) file;
and in the latter it was being set by code from the mudlet class which
just did not work - as it is being used as the central widget inside
a QMainWindow widget and THAT is what has to have the icon set!

Also, fix the fact that the profile preference was not opened in the
first tab but the third.

Signed-off-by: Stephen Lyons <slysven@virginmedia.com>
Remove dead code.
Merge pull request #71 from ahmedcharles/dead

Remove dead code.
Merge pull request #59 from ahmedcharles/ui

Fixes: Some dialog icon issues
Cleanup clang-format settings.

This doesn't change the settings, just fixing some issues that weren't
noticed before.
Merge pull request #80 from ahmedcharles/options

Cleanup clang-format settings.
Remove code which expects new to return null.

new throws an exception on failure instead.
Merge pull request #73 from ahmedcharles/exceptions

Remove code which expects new to return null.
Fix bug with the revert of keyboard nav.
Merge pull request #84 from ahmedcharles/fix

Fix bug with the revert of keyboard nav.
Remove unnecessary include of QDebug.
Merge pull request #85 from ahmedcharles/fix

Add additional include guards that were missed.
Reindent ctelnet.h to use 4 spaces.

This makes it consistent with everything else.
Some more intentionally low controversial formatting.
Merge pull request #72 from ahmedcharles/clang_format

Formatting changes.
Turn off deprecated warnings for CMake GCC builds.
Use CMAKE_INCLUDE_CURRENT_DIR.

This is better than setting the include directories manually.
Merge pull request #75 from ahmedcharles/cmake

Cmake build changes.
Simplify the logic in TMatchState.
Merge pull request #74 from ahmedcharles/simplify

Simplify the logic in TMatchState.