Changeset 1321


Ignore:
Timestamp:
11/24/2009 1:54:12 AM (5 years ago)
Author:
lowjoel
Message:

Warning fix. This also allows proper error messages to be displayed to the user when the settings cannot be loaded from the registry.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/eraser6/Eraser/Program.cs

    r1317 r1321  
    13171317            /// Constructor. 
    13181318            /// </summary> 
     1319            /// <param name="pluginId">The GUID of the plugin for which settings are stored.</param> 
    13191320            /// <param name="key">The registry key to look for the settings in.</param> 
    1320             public RegistrySettings(RegistryKey key) 
    1321             { 
     1321            public RegistrySettings(Guid pluginId, RegistryKey key) 
     1322            { 
     1323                this.pluginID = pluginId; 
    13221324                this.key = key; 
    13231325            } 
     
    14341436 
    14351437                //Return the Settings object. 
    1436                 return new RegistrySettings(pluginsKey); 
     1438                return new RegistrySettings(guid, pluginsKey); 
    14371439            } 
    14381440            finally 
Note: See TracChangeset for help on using the changeset viewer.