BUG: fix qt console repr
Merge pull request #3527 from cpcloud/qt-repr-bug

fix qt repr bug