DBManager: updated to new SIP API
DBManager: remove empty line from sql editor