QT 5 Update rpcconsole.cpp

Updates to fix Qt 5.0 vs Qt 4.0 compatibility issues