Mercurial > hg > easyhg
diff mainwindow.cpp @ 345:5bf78b23eb10
Backed out changeset 8b244f3b3111. It just feels wrong in normal use, I don't think the pedagogical advantage is quite enough
author | Chris Cannam |
---|---|
date | Wed, 16 Mar 2011 10:26:56 +0000 |
parents | 8b244f3b3111 |
children | 98cf46fb74c1 |
line wrap: on
line diff
--- a/mainwindow.cpp Tue Mar 15 11:45:53 2011 +0000 +++ b/mainwindow.cpp Wed Mar 16 10:26:56 2011 +0000 @@ -1055,6 +1055,11 @@ tr("<qt><big>What would you like to open?</big></qt>"), this); + d->addChoice("remote", + tr("<qt><center><img src=\":images/browser-64.png\"><br>Remote repository</center></qt>"), + tr("Open a remote Mercurial repository, by cloning from its URL into a local folder."), + MultiChoiceDialog::UrlToDirectoryArg); + d->addChoice("local", tr("<qt><center><img src=\":images/hglogo-64.png\"><br>Local repository</center></qt>"), tr("Open an existing local Mercurial repository."), @@ -1065,11 +1070,6 @@ tr("Open a local folder, by creating a Mercurial repository in it."), MultiChoiceDialog::DirectoryArg); - d->addChoice("remote", - tr("<qt><center><img src=\":images/browser-64.png\"><br>Remote repository</center></qt>"), - tr("Open a remote Mercurial repository, by cloning from its URL into a local folder."), - MultiChoiceDialog::UrlToDirectoryArg); - QSettings settings; settings.beginGroup("General"); QString lastChoice = settings.value("lastopentype", "local").toString();