I was working on the main window when I saw this annoying little problem. Instead of creating a single top-level window that I wanted, it created two.

For resolving this I had to re-write the code to create the window.

Earlier I was loading the ui(glade) file in main.cpp but now I have resorted to creating this window via constructor call from different .cpp file.

Also I am keeping a check that there should be no warnings during compile as well as during runtime.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s