When I try to set the width of a modified QDockWidget
Qt Code:
int iWidth = 500; this->geometry().setWidth(iWidth);To copy to clipboard, switch view to plain text mode
I get the following error.
I have no idea what that error means and why I can't use such a simple function.passing 'cost QRect' as 'this' argument of 'void QRect::setWidth(int)' discards qualifier
Bookmarks