src/dialogs.cc

changeset 757
8ab9fa53142b
parent 739
152b33a6d51b
child 762
d259256e1394
--- a/src/dialogs.cc	Tue Apr 29 00:15:56 2014 +0300
+++ b/src/dialogs.cc	Tue Apr 29 02:06:09 2014 +0300
@@ -45,7 +45,7 @@
 #include "ui_bombbox.h"
 
 extern const char* g_extProgPathFilter;
-extern_cfg (String, io_ldpath);
+EXTERN_CFGENTRY (String, ldrawPath);
 
 // =============================================================================
 // =============================================================================
@@ -178,12 +178,12 @@
 
 	okButton()->setEnabled (false);
 
-	connect (ui->path, SIGNAL (textEdited (String)), this, SLOT (slot_tryConfigure()));
+	connect (ui->path, SIGNAL (textEdited (QString)), this, SLOT (slot_tryConfigure()));
 	connect (ui->searchButton, SIGNAL (clicked()), this, SLOT (slot_findPath()));
 	connect (ui->buttonBox, SIGNAL (rejected()), this, validDefault ? SLOT (reject()) : SLOT (slot_exit()));
 	connect (ui->buttonBox, SIGNAL (accepted()), this, SLOT (slot_accept()));
 
-	setPath (io_ldpath);
+	setPath (cfg::ldrawPath);
 
 	if (validDefault)
 		slot_tryConfigure();

mercurial