Adapt to upstream changes

Change-Id: If876d7f91172ddd3398c6a37ad8f14b73a3e55ee
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Christian Stenger
2022-07-27 10:58:45 +02:00
parent 8060ca5204
commit c06a40afcd
2 changed files with 5 additions and 3 deletions

View File

@@ -767,7 +767,7 @@ void FossilPluginPrivate::createRepository()
if (const ProjectExplorer::Project *currentProject = ProjectExplorer::ProjectTree::currentProject())
directory = currentProject->projectDirectory();
// Prompt for a directory that is not under version control yet
QWidget *mw = Core::ICore::mainWindow();
QWidget *mw = Core::ICore::dialogParent();
do {
directory = FileUtils::getExistingDirectory(nullptr, tr("Choose Checkout Directory"), directory);
if (directory.isEmpty())

View File

@@ -177,13 +177,15 @@ OptionsPageWidget::OptionsPageWidget(const std::function<void()> &onApply, Fossi
Group {
Title(tr("Miscellaneous")),
Row {
Column {
Row {
s.logCount,
s.timelineWidth,
s.timeout,
Stretch()
},
s.disableAutosync
},
s.disableAutosync
},
Stretch()