A simple tool for log-analysis.
slides
Compiled with Qt 5.15.2
Qt 5.15
Cause |
controller.cpp: in getShortcut(), visit a Null pointer |
Solution |
Check before visit |
Cause |
logviewer.cpp: in buiding function, function return earlier than excpected, which cause Scoll bar can be binded when function return. |
Solution |
In each exits, add Scoll bar's binding |
Cause |
forget to delete test block,which makes tab-> count always larger than 1. So tab->show() will never be reached |
Solution |
elete the test block |
Cause |
when emitting colorChange signal, funtion dosen't Check the difference between old and selected color |
Solution |
Check difference between old and selected color ahead of emitting signal |
Cause |
No handle for reject in dialog, |
Solution |
if input is empty and dialog is rejected, just do nothing but return |
Cause |
Repeatedly connect signals and slots |
Solution |
Delete redundant connections |