tests: Decouple tst_multisplitter from QWidget more
It now asks the platform to create a test view instead of using one that inherits from QWidget.
This commit is contained in:
@@ -41,7 +41,7 @@ public:
|
||||
|
||||
QSize maxSizeHint() const override
|
||||
{
|
||||
return m_opts.maxSize;
|
||||
return m_opts.maxSize.boundedTo(Views::View_qtwidgets<QWidget>::maximumSize());
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user