From d3f17ee08a2f8fc9666a30791f9adfb97e94a482 Mon Sep 17 00:00:00 2001 From: Gerald Combs Date: Mon, 8 Mar 2021 10:04:49 -0800 Subject: Remove modelines in ui/qt. Remove the editor modeline blocks from most of the source files in ui/qt by running perl -i -p0e 's{ \n+ /[ *\n]+ editor \s+ modelines .* shiftwidth= .* \*/ \s+ } {\n}gsix' $( ag -g '\.(cpp|h)' ) then cleaning up the remaining files by hand. This *shouldn't* affect anyone since - All of the source files in ui/qt use 4 space indentation, which matches the default in our top-level .editorconfig - The one notable editor that's likely to be used on these files and *doesn't* support EditorConfig (Qt Creator) defaults to 4 space indentation. --- ui/qt/utils/qt_ui_utils.h | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'ui/qt/utils/qt_ui_utils.h') diff --git a/ui/qt/utils/qt_ui_utils.h b/ui/qt/utils/qt_ui_utils.h index 4eaedef86b..9d8a56dca9 100644 --- a/ui/qt/utils/qt_ui_utils.h +++ b/ui/qt/utils/qt_ui_utils.h @@ -234,16 +234,3 @@ void set_action_shortcuts_visible_in_context_menu(QList actions); #endif /* __QT_UI_UTILS__H__ */ // XXX Add a routine to fetch the HWND corresponding to a widget using QPlatformIntegration - -/* - * Editor modelines - * - * Local Variables: - * c-basic-offset: 4 - * tab-width: 8 - * indent-tabs-mode: nil - * End: - * - * ex: set shiftwidth=4 tabstop=8 expandtab: - * :indentSize=4:tabSize=8:noTabs=true: - */ -- cgit v1.2.3