13.19d: 2190a1b verified; sizeLabel's ties tested; tests read optionals through value(); two mask tests brought to 13.12
This commit is contained in:
1 parent
ab34fd6ace
commit
3757eb8910
40 files changed
+233
-220
No files matched your search
@@ -19,7 +19,7 @@ struct Shown {
|
||||
explicit Shown(std::optional<QSize> document = QSize(100, 100), QSize size = QSize(400, 300)) : canvas(new CanvasView(session, &window))
|
||||
{
|
||||
if (document)
|
||||
session.createDocument(document->width(), document->height());
|
||||
session.createDocument(document.value().width(), document.value().height());
|
||||
window.resize(size);
|
||||
canvas->setGeometry(QRect(QPoint(0, 0), size));
|
||||
window.show();
|
||||
|
||||
Reference in new issue
Block a user