# HG changeset patch
# User Chris Cannam
# Date 1300189553 0
# Node ID 8b244f3b311184b375d558a107c50cd9b26a7397
# Parent 05099d942a15d48fbdddc39c174ce4af6dec3d23
Change open repo dialog button ordering from remote-local-file to local-file-remote, because file is the most usual first-user choice (put local at left instead of right so as to make it second most obvious)
diff -r 05099d942a15 -r 8b244f3b3111 mainwindow.cpp
--- a/mainwindow.cpp Mon Mar 14 11:45:23 2011 +0000
+++ b/mainwindow.cpp Tue Mar 15 11:45:53 2011 +0000
@@ -1055,21 +1055,21 @@
tr("What would you like to open?"),
this);
+ d->addChoice("local",
+ tr("
Local repository"),
+ tr("Open an existing local Mercurial repository."),
+ MultiChoiceDialog::DirectoryArg);
+
+ d->addChoice("init",
+ tr("
File folder"),
+ tr("Open a local folder, by creating a Mercurial repository in it."),
+ MultiChoiceDialog::DirectoryArg);
+
d->addChoice("remote",
tr("
Remote repository"),
tr("Open a remote Mercurial repository, by cloning from its URL into a local folder."),
MultiChoiceDialog::UrlToDirectoryArg);
- d->addChoice("local",
- tr("
Local repository"),
- tr("Open an existing local Mercurial repository."),
- MultiChoiceDialog::DirectoryArg);
-
- d->addChoice("init",
- tr("
File folder"),
- tr("Open a local folder, by creating a Mercurial repository in it."),
- MultiChoiceDialog::DirectoryArg);
-
QSettings settings;
settings.beginGroup("General");
QString lastChoice = settings.value("lastopentype", "local").toString();