? qb.inc.patch
Index: qb.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/qb/qb.inc,v
retrieving revision 1.3
diff -u -p -r1.3 qb.inc
--- qb.inc	3 Feb 2009 21:32:17 -0000	1.3
+++ qb.inc	28 Feb 2009 01:41:55 -0000
@@ -19,6 +19,7 @@ function qb_settings() {
     '#type'        => 'textfield',
     '#title'       => t('Company file'),
     '#description' => t('The full path to your quickbooks company file, e.g. C:\Data\MyCompany\MyCompany.qdb.  If you leave this blank, applications will use the file that is currently open on your workstation.'),
+    '#default_value' => variable_get('qb_company_file', ''),
   );
   // Make sure the buttons show up someplace responsible.
   $form['buttons'] = array('#weight' => 10);
Index: modules/qbwc/qbwc.admin.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/qb/modules/qbwc/qbwc.admin.inc,v
retrieving revision 1.2
diff -u -p -r1.2 qbwc.admin.inc
--- modules/qbwc/qbwc.admin.inc	20 Jan 2009 04:45:10 -0000	1.2
+++ modules/qbwc/qbwc.admin.inc	28 Feb 2009 01:41:55 -0000
@@ -22,6 +22,7 @@ function qbwc_admin_form() {
     '#type'        => 'textfield',
     '#title'       => t('IP Restriction'),
     '#description' => t('If you want to limit connections to the Web Connector service to a limited set of hosts, enter one or more IP addresses here, separated by commas.'),
+    '#default_value' => variable_get('qbwc_hostname', ''),
   );
 
   $options = array(
