Skip to content

Commit

Permalink
Main -> MainApplication
Browse files Browse the repository at this point in the history
  • Loading branch information
verseczi committed May 15, 2018
1 parent 436a400 commit f0cac44
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 12 deletions.
13 changes: 6 additions & 7 deletions MediaCleaner/Helpers/Log.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,15 @@ namespace MediaCleaner
{
public class Log
{

public static void EnableDebug()
{
foreach (var rule in LogManager.Configuration.LoggingRules)
{
rule.EnableLoggingForLevel(LogLevel.Trace);
rule.EnableLoggingForLevel(LogLevel.Debug);
}
foreach (var rule in LogManager.Configuration.LoggingRules)
{
rule.EnableLoggingForLevel(LogLevel.Trace);
rule.EnableLoggingForLevel(LogLevel.Debug);
}

LogManager.ReconfigExistingLoggers();
LogManager.ReconfigExistingLoggers();
}
}
}
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -261,8 +261,6 @@ private void stop()
dispatcherTimer.Stop();
}



private void OpenSettings(Object sender, EventArgs e)
{
var preSettingsInterval = Config.Interval;
Expand Down
6 changes: 3 additions & 3 deletions MediaCleaner/MediaCleaner.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
<Reference Include="PresentationFramework" />
</ItemGroup>
<ItemGroup>
<ApplicationDefinition Include="Main.xaml">
<ApplicationDefinition Include="MainApplication.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</ApplicationDefinition>
Expand Down Expand Up @@ -144,8 +144,8 @@
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Compile Include="Main.xaml.cs">
<DependentUpon>Main.xaml</DependentUpon>
<Compile Include="MainApplication.xaml.cs">
<DependentUpon>MainApplication.xaml</DependentUpon>
<SubType>Code</SubType>
</Compile>
<Compile Include="Views\Settings.xaml.cs">
Expand Down

0 comments on commit f0cac44

Please sign in to comment.