Let her tantrum about it, or anything else she tantrums about.
Tell her "when you are done with your tantrum, let me know..." then go about your business or sit and read a magazine.
Don't flinch.
Don't scream back or raise your voice or sound irritated.
Say it in a matter of fact voice.
Kids WILL deflate, on their own.
Then, tell her, that it is HER CHOICE, to tantrum or not. But you will not be controlled by it.
She is 4, she is not 2.
Tell her, she has a choice of what to eat and that is lucky.
Then teach her, how to HELP making it or in getting it.
My son at 4 years old could even make his own scrambled eggs from start to finish, with my supervision. Because I taught him. He can even make his own cereal and pour himself some milk or juice from the fridge.
So in essence, you need to TEACH a child... HOW TO trouble shoot, what their frustration or irk, is. And how to say it and then, what they can do about it.
Give your girl, SKILLS in how to do things.
Inform her that she can tantrum... OR, not.
But you will not be controlled by it. Nor will you let her tantrum upset the whole house.
Then stick to it.
So she goes 15 minutes. Fine. Let her go on and on.
A child will deflate on their own.
I have even told my kids (when they are being like that knowingly) "Okay, go ahead, scream... let it ALL out. Scream. When you are done, let me know..." then I walk away and do my things.
4 years old is hard.
The book "Your Four Year Old" is good. Amazon has it. It simply tells about what each age is like. Although written years ago, it is still very common sense and pertinent.
About each age and their development.
You ALSO need to teach a child "coping skills" for frustrations.
A child does not come to this world with knowing those skills already.
It is taught. Some adults don't even know that.
And teach her how to problem-solve. Kids don't know that either, unless taught. Some adults don't even know that.
There are MANY ways, to handle frustrations and how to solve them.
Teach a child that... and in time, they will get better at it.
I do not have a "we don't get upset rule" in my house. Meaning, even adults get upset. Its an emotion. We all have it. We all need to vent. BUT... I teach my kids... the words for their feelings, how to say it in a more palatable way, that they CAN tell me anything.... and that, its okay to have a grumpy feelings... BUT they know HOW to cope and problem solve. Because, I teach them how. And at each age stage... they get more articulate about it.
And, sometimes a kid just needs to nap!
My son is 5 and he will still nap.
When he is overtired or tired, he turns into a Troll. When he is like that, I KNOW he is tired.
But he WILL say "Mommy I'm tired... I want to nap..." and he does.