From 2d1e42ea3333d29e19861532dbbc8929e89f38c1 Mon Sep 17 00:00:00 2001 From: trilader Date: Sun, 18 Jul 2021 16:41:19 +0200 Subject: [PATCH] Misc fixes and optimizations (mostly suggestions by clang-tidy) --- application.cpp | 22 +++++++++++----------- db.cpp | 2 +- tui.cpp | 4 ++-- tui.h | 2 +- yt.cpp | 9 ++++++--- yttui-qt5.cpp | 2 +- 6 files changed, 22 insertions(+), 19 deletions(-) diff --git a/application.cpp b/application.cpp index c191295..7e208f4 100644 --- a/application.cpp +++ b/application.cpp @@ -24,7 +24,7 @@ #include #include -static std::string user_home; +std::string user_home; std::vector userFlags; std::vector channels; @@ -60,6 +60,7 @@ void draw_channel_list(const std::vector