#
#
# patch "res/forms/open_prompt.ui"
# from [e585d375ad1f9889467b3c8e16f30b458227cad0]
# to [e19689f82d2ce2eb293b6964ce882095b3f09099]
#
# patch "src/view/dialogs/OpenPrompt.cpp"
# from [30503eeda646434d42512c0840f453bb4449daac]
# to [d4dcd427de9fb69d4adec8fc568b854827998b24]
#
============================================================
--- res/forms/open_prompt.ui e585d375ad1f9889467b3c8e16f30b458227cad0
+++ res/forms/open_prompt.ui e19689f82d2ce2eb293b6964ce882095b3f09099
@@ -11,7 +11,7 @@
0
0
- 536
+ 515
303
@@ -83,7 +83,7 @@
-
-
+
0
0
@@ -91,10 +91,10 @@ p, li { white-space: pre-wrap; }
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
-</style></head><body style=" font-family:'Lucida Grande'; font-size:13pt; font-weight:400; font-style:normal;">
-<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Opens an existing monotone database to browse revisions, files and metadata.</p>
-<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p>
-<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:11pt;">If you like to checkout a new workspace, open a database first and then use "Checkout revision" in the "Database" menu.</p></body></html>
+</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;">
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Lucida Grande'; font-size:13pt;"><span style=" font-size:9pt;">Opens an existing monotone database to browse revisions, files and metadata</span><span style=" font-size:10pt;">.</span></p>
+<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Lucida Grande';"></p>
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Lucida Grande'; font-size:8pt;">If you like to checkout a new workspace, open a database first and then use "Checkout revision" in the "Database" menu.</p></body></html>
Qt::AutoText
@@ -169,7 +169,7 @@ p, li { white-space: pre-wrap; }
-
-
+
0
0
@@ -177,10 +177,10 @@ p, li { white-space: pre-wrap; }
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
-</style></head><body style=" font-family:'Lucida Grande'; font-size:13pt; font-weight:400; font-style:normal;">
-<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Opens an existing workspace directory.</p>
-<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p>
-<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:11pt;">If you previously checked out a workspace, use this to manage it.</p></body></html>
+</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;">
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Lucida Grande'; font-size:13pt;"><span style=" font-size:9pt;">Opens an existing workspace directory.</span></p>
+<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Lucida Grande';"></p>
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Lucida Grande';"><span style=" font-size:8pt;">If you previously checked out a workspace, use this to manage it.</span></p></body></html>
Qt::AutoText
@@ -212,6 +212,9 @@ p, li { white-space: pre-wrap; }
Qt::Horizontal
+
+ QSizePolicy::Expanding
+
40
============================================================
--- src/view/dialogs/OpenPrompt.cpp 30503eeda646434d42512c0840f453bb4449daac
+++ src/view/dialogs/OpenPrompt.cpp d4dcd427de9fb69d4adec8fc568b854827998b24
@@ -41,6 +41,11 @@ OpenPrompt::OpenPrompt(QWidget * parent)
btnExit, SIGNAL(clicked()),
this, SIGNAL(quitApp())
);
+
+ connect(
+ this, SIGNAL(rejected()),
+ this, SIGNAL(quitApp())
+ );
}
OpenPrompt::~OpenPrompt() {};