src/dialogs.cpp

changeset 526
b29b6fc45ba9
parent 513
29eb671b34f6
child 539
72ad83a67165
--- a/src/dialogs.cpp	Tue Oct 22 13:53:24 2013 +0300
+++ b/src/dialogs.cpp	Tue Oct 22 19:22:15 2013 +0300
@@ -209,7 +209,7 @@
 // =============================================================================
 // -----------------------------------------------------------------------------
 void LDrawPathDialog::slot_exit()
-{	exit (1);
+{	exit (0);
 }
 
 // =============================================================================
@@ -238,7 +238,6 @@
 {	ui = new Ui_OpenProgressUI;
 	ui->setupUi (this);
 	ui->progressText->setText ("Parsing...");
-
 	setNumLines (0);
 	m_progress = 0;
 }
@@ -282,12 +281,11 @@
 ExtProgPathPrompt::ExtProgPathPrompt (str progName, QWidget* parent, Qt::WindowFlags f) :
 	QDialog (parent, f),
 	ui (new Ui_ExtProgPath)
-{	ui->setupUi (this);
-
+{
+	ui->setupUi (this);
 	str labelText = ui->m_label->text();
 	labelText.replace ("<PROGRAM>", progName);
 	ui->m_label->setText (labelText);
-
 	connect (ui->m_findPath, SIGNAL (clicked (bool)), this, SLOT (findPath()));
 }
 

mercurial