Skip to content

Commit

Permalink
Code cleanup and documentation recompilation
Browse files Browse the repository at this point in the history
  • Loading branch information
Neonalig committed Aug 23, 2020
1 parent 38c40fc commit 3dc819f
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 8 deletions.
2 changes: 0 additions & 2 deletions Extensions/FileSystemExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,6 @@ public static void SetAsBackup(this FileInfo File, bool Overwrite = false) {

if (!Destination.Exists) {
File.CopyTo(Destination, Overwrite);
return;
}
}

Expand Down Expand Up @@ -206,7 +205,6 @@ public static void RevertBackup(this FileInfo File, bool Overwrite = false) {

if (!Exists) {
File.CopyTo(Destination);
return;
}
}

Expand Down
Binary file modified Help/Osu!BackgroundPurge.chm
Binary file not shown.
5 changes: 1 addition & 4 deletions Pages/OverrideBackgroundsPage.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,20 @@
#region Using Directives

using System;
using System.Linq;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Diagnostics.CodeAnalysis;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Linq;
using System.Windows;
using System.Windows.Controls.Primitives;
using System.Windows.Threading;

using MahApps.Metro.IconPacks;

using Osu_BackgroundPurge.UserControls;
using Osu_BackgroundPurge.Windows;

using OsuParser;
using OsuParser.Events;

Expand Down
3 changes: 2 additions & 1 deletion Windows/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Threading;

using Osu_BackgroundPurge.Pages;

Expand Down Expand Up @@ -68,7 +69,7 @@ public MainWindow() {
////Test();
}

static void Current_DispatcherUnhandledException(object Sender, System.Windows.Threading.DispatcherUnhandledExceptionEventArgs E) => ExceptionWindow.Catch(E.Exception);
static void Current_DispatcherUnhandledException(object Sender, DispatcherUnhandledExceptionEventArgs E) => ExceptionWindow.Catch(E.Exception);

// ReSharper disable once FunctionRecursiveOnAllPaths
//public void Test() {
Expand Down
1 change: 0 additions & 1 deletion Windows/UpdateWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
using System.Reflection;
using System.Threading.Tasks;
using System.Windows;

using Octokit;

#endregion
Expand Down

0 comments on commit 3dc819f

Please sign in to comment.