I want to find if a label has a pixmap or not.
Qt Docs says :
If no pixmap has been set this will return an invalid pixmap.
But how can you find if a pixmap is valid or not?
When I try to use
Qt Code:
if(!pixmap()->isNull()){ //Do some thing }To copy to clipboard, switch view to plain text mode
my application crashes
Pls help
Thanks a lot.
Bookmarks