aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/utils/qt_ui_utils.h
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2021-03-08 10:04:49 -0800
committerWireshark GitLab Utility <gerald+gitlab-utility@wireshark.org>2021-03-08 18:11:32 +0000
commitd3f17ee08a2f8fc9666a30791f9adfb97e94a482 (patch)
treee942c6c3988bde336957196268e00458bc5c4a7b /ui/qt/utils/qt_ui_utils.h
parent1910e416a97a7f0580d9899a1ea12379a82307e6 (diff)
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.
Diffstat (limited to 'ui/qt/utils/qt_ui_utils.h')
-rw-r--r--ui/qt/utils/qt_ui_utils.h13
1 files changed, 0 insertions, 13 deletions
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<QAction *> 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:
- */