Mainwindow.cpp rewrite
Every QCheckBox now has a "packageName" property that is used instead of the previous if statement method.
This drastically reduces the amount of:
- Lines of code
- Calls to pacman (performance boost!)
- Process creations (performance boost!)
Additionally, this commit also prevents the event loop from locking up during the install process, which allows us to block any further click events.