Changed Iniconfig framework to static, this makes it even easier to use.

git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@817 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
RKrom 2010-08-18 06:23:00 +00:00
parent 847556570b
commit 84ac73c5de

View file

@ -82,9 +82,9 @@ namespace Greenshot {
Thread.CurrentThread.Name = Application.ProductName;
// Read configuration
coreConfiguration = IniConfig.GetInstance().GetSection<CoreConfiguration>();
coreConfiguration = IniConfig.GetIniSection<CoreConfiguration>();
if (coreConfiguration.IsDirty) {
IniConfig.GetInstance().Save();
IniConfig.Save();
}
LOG.Info("Firstlaunch: " + coreConfiguration.IsFirstLaunch);
LOG.Info("Destinations:");