Hello.

In my program I got 2 QMainWindows. How can I show/hide my second Window from the first?
In the constructor of the second Window I got "this->show();" and it does show without a problem.
But when I create a slot in the first Window to run this as well ( this->show(); ) in another function in my second Window class it says: 'this' is unavailable for static member functions.
(so, in a slot of my first window class I try to access a static function in my second Window class)
I hope I made myself clear. This function I'm trying to access is static, but I dont think I should keep it that way.

I can type my code if its easier for you.

For the record, this second window is basically a widget, a label. I just want it aside from my (true) main window.

Thanks in advance.