Seems like the default of `= nullptr` has been added recently to Qt.
BUG: 376247
}
auto menu = new QMenu(treeView);
auto openFile =
- new QAction(QIcon::fromTheme(QStringLiteral("document-open")), QObject::tr("Open file in editor"));
+ new QAction(QIcon::fromTheme(QStringLiteral("document-open")), QObject::tr("Open file in editor"), menu);
QObject::connect(openFile, &QAction::triggered, openFile, [location] {
/// FIXME: add settings to let user configure this
auto url = QUrl::fromLocalFile(location->file);