From 84ac73c5ded4f76a55df9e1d25e31aa1a696329a Mon Sep 17 00:00:00 2001 From: RKrom Date: Wed, 18 Aug 2010 06:23:00 +0000 Subject: [PATCH] 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 --- Greenshot/Forms/MainForm.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Greenshot/Forms/MainForm.cs b/Greenshot/Forms/MainForm.cs index 5495c8d1b..e95546a7e 100644 --- a/Greenshot/Forms/MainForm.cs +++ b/Greenshot/Forms/MainForm.cs @@ -82,9 +82,9 @@ namespace Greenshot { Thread.CurrentThread.Name = Application.ProductName; // Read configuration - coreConfiguration = IniConfig.GetInstance().GetSection(); + coreConfiguration = IniConfig.GetIniSection(); if (coreConfiguration.IsDirty) { - IniConfig.GetInstance().Save(); + IniConfig.Save(); } LOG.Info("Firstlaunch: " + coreConfiguration.IsFirstLaunch); LOG.Info("Destinations:");