summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.clang-tidy1
-rw-r--r--src/main.cpp4
2 files changed, 2 insertions, 3 deletions
diff --git a/.clang-tidy b/.clang-tidy
index 6d00d38..7d331cd 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -59,7 +59,6 @@ Checks: >
-readability-isolate-declaration,
-readability-make-member-function-const,
-readability-redundant-smartptr-get,
- -readability-static-accessed-through-instance,
FormatStyle: file
WarningsAsErrors: '*'
HeaderFilterRegex: 'src/.*' \ No newline at end of file
diff --git a/src/main.cpp b/src/main.cpp
index 5a8d6be..6ad255f 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1,5 +1,5 @@
/* This file is part of Patchage.
- * Copyright 2007-2014 David Robillard <http://drobilla.net>
+ * Copyright 2007-2020 David Robillard <d@drobilla.net>
*
* Patchage is free software: you can redistribute it and/or modify it under
* the terms of the GNU General Public License as published by the Free
@@ -81,7 +81,7 @@ main(int argc, char** argv)
Gtk::Main app(argc, argv);
Patchage patchage(argc, argv);
- app.run(*patchage.window());
+ Gtk::Main::run(*patchage.window());
patchage.save();
} catch (std::exception& e) {