forked from qt-creator/qt-creator
Adapt to upstream changes
Change-Id: If876d7f91172ddd3398c6a37ad8f14b73a3e55ee Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -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())
|
||||
|
||||
@@ -177,6 +177,7 @@ OptionsPageWidget::OptionsPageWidget(const std::function<void()> &onApply, Fossi
|
||||
|
||||
Group {
|
||||
Title(tr("Miscellaneous")),
|
||||
Column {
|
||||
Row {
|
||||
s.logCount,
|
||||
s.timelineWidth,
|
||||
@@ -185,6 +186,7 @@ OptionsPageWidget::OptionsPageWidget(const std::function<void()> &onApply, Fossi
|
||||
},
|
||||
s.disableAutosync
|
||||
},
|
||||
},
|
||||
Stretch()
|
||||
|
||||
}.attachTo(this);
|
||||
|
||||
Reference in New Issue
Block a user