From 60a5b15002ea970ffaee6489a5a9322698e6d0b3 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 27 Nov 2020 17:57:36 +0100 Subject: Fix static accessed through instance --- .clang-tidy | 1 - src/main.cpp | 4 ++-- 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 + * Copyright 2007-2020 David Robillard * * 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) { -- cgit v1.2.1