diff --git a/uppsrc/Core/LocalProcess.cpp b/uppsrc/Core/LocalProcess.cpp index 6b7c6ad31..385b37e38 100644 --- a/uppsrc/Core/LocalProcess.cpp +++ b/uppsrc/Core/LocalProcess.cpp @@ -189,6 +189,11 @@ bool LocalProcess::Start(const char *command, const char *envptr) dup2(wpipe[1], 1); dup2(wpipe[1], 2); + close(rpipe[0]); + close(rpipe[1]); + close(wpipe[0]); + close(wpipe[1]); + #if DO_LLOG LLOG(args.GetCount() << "arguments:"); for(int a = 0; a < args.GetCount(); a++) diff --git a/uppsrc/ide/Qtf.cpp b/uppsrc/ide/Qtf.cpp index f22a0d789..75ea1e231 100644 --- a/uppsrc/ide/Qtf.cpp +++ b/uppsrc/ide/Qtf.cpp @@ -56,9 +56,12 @@ void QtfDlgEditor::Serialize(Stream& s) QtfDlgEditor::QtfDlgEditor() { - Add(editor.SizePos()); - Rect r = GetWorkArea(); - SetRect(0, 0, r.GetWidth() - 100, r.GetHeight() - 100); + Add(editor.SizePos()); + Rect r = GetWorkArea(); + Sizeable().Zoomable(); + SetRect(0, 0, r.GetWidth() - 100, r.GetHeight() - 100); + SetMinSize(Size(min(640, r.GetWidth() - 100), min(480, r.GetHeight() - 100))); + Title("Editor"); } void QtfDlg::Editor()