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())
|
if (const ProjectExplorer::Project *currentProject = ProjectExplorer::ProjectTree::currentProject())
|
||||||
directory = currentProject->projectDirectory();
|
directory = currentProject->projectDirectory();
|
||||||
// Prompt for a directory that is not under version control yet
|
// Prompt for a directory that is not under version control yet
|
||||||
QWidget *mw = Core::ICore::mainWindow();
|
QWidget *mw = Core::ICore::dialogParent();
|
||||||
do {
|
do {
|
||||||
directory = FileUtils::getExistingDirectory(nullptr, tr("Choose Checkout Directory"), directory);
|
directory = FileUtils::getExistingDirectory(nullptr, tr("Choose Checkout Directory"), directory);
|
||||||
if (directory.isEmpty())
|
if (directory.isEmpty())
|
||||||
|
|||||||
@@ -177,13 +177,15 @@ OptionsPageWidget::OptionsPageWidget(const std::function<void()> &onApply, Fossi
|
|||||||
|
|
||||||
Group {
|
Group {
|
||||||
Title(tr("Miscellaneous")),
|
Title(tr("Miscellaneous")),
|
||||||
Row {
|
Column {
|
||||||
|
Row {
|
||||||
s.logCount,
|
s.logCount,
|
||||||
s.timelineWidth,
|
s.timelineWidth,
|
||||||
s.timeout,
|
s.timeout,
|
||||||
Stretch()
|
Stretch()
|
||||||
|
},
|
||||||
|
s.disableAutosync
|
||||||
},
|
},
|
||||||
s.disableAutosync
|
|
||||||
},
|
},
|
||||||
Stretch()
|
Stretch()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user