Gets key value from settings file.

        :param section: Current section to retrieve key from.
        :type section: unicode
        :param key: Current key to retrieve.
        :type key: unicode
        :return: Current key value.
        :rtype: object

def get_key(self, section, key):
        """
        Gets key value from settings file.

        :param section: Current section to retrieve key from.
        :type section: unicode
        :param key: Current key to retrieve.
        :type key: unicode
        :return: Current key value.
        :rtype: object
        """

        LOGGER.debug("> Retrieving '{0}' in '{1}' section.".format(key, section))

        self.__settings.beginGroup(section)
        value = self.__settings.value(key)
        LOGGER.debug("> Key value: '{0}'.".format(value))
        self.__settings.endGroup()

        return value