src/actionsEdit.cc

changeset 757
8ab9fa53142b
parent 754
c37564d59ce1
child 767
44f0d5322628
--- a/src/actionsEdit.cc	Tue Apr 29 00:15:56 2014 +0300
+++ b/src/actionsEdit.cc	Tue Apr 29 02:06:09 2014 +0300
@@ -34,8 +34,7 @@
 #include "ui_flip.h"
 #include "ui_addhistoryline.h"
 
-cfg (Bool, edit_schemanticinline, false);
-extern_cfg (String, ld_defaultuser);
+EXTERN_CFGENTRY (String, defaultUser);
 
 // =============================================================================
 //
@@ -742,7 +741,7 @@
 	QDialog* dlg = new QDialog;
 	Ui_AddHistoryLine* ui = new Ui_AddHistoryLine;
 	ui->setupUi (dlg);
-	ui->m_username->setText (ld_defaultuser);
+	ui->m_username->setText (cfg::defaultUser);
 	ui->m_date->setDate (QDate::currentDate());
 	ui->m_comment->setFocus();
 

mercurial