deleted device.cpp
removed processor-mianwindow connection
added connection between processor and button