Merge pull request
#1318 from ivanov/qt-console-ctrl-d...
Merge pull request
#1318 from ivanov/qt-console-ctrl-d
make Ctrl-D in qtconsole act same as in terminal
* ^D on empty prompt brings up exit dialog
* ^D^D exits the qtconsole
* ^D otherwise does regular forward-delete