Shouldnt you be spending time with your daughter then instead of having the pc on? I certainly wouldnt let any of my kids near the pc.
Still, sorry if the situation arose but you arent entirely innocent.
Spoken like someone who's not experienced in raising a kid.
A few things for you to remember in case you ever breed:
1) You don't spend every moment with your child. Firstly it will drive you bat-shit crazy not having time for yourself to enjoy your own hobbies. Secondly it will make your child completely clingy and dependant, spoiled and/or lacking in self-motivation, self-discipline and self reliant.
2) She was doing her homework on the desk next to me where I can help explain things to her if she has a question, also to make sure she's actually doing the work and doing it correctly. Idly browsing forums/websites/email is hardly as distracting from a task as actually playing a game.