Qt---去掉标题栏后,最大化应用程序窗口时,窗口遮住了任务栏的问题

不应该使用:

this->showFullScreen(); 
this->showMaximized();
而应该使用:
this->setGeometry(QApplication::desktop()->availableGeometry());
原文地址:https://www.cnblogs.com/granx/p/9563361.html