Translations: Remove header includes of *tr.h in .h files

The wrong Tr::tr could be executed by code indirectly including a *tr.h
file from another module.
To Translate in a header file, use QCoreApplication::tr().

Change-Id: I30e67245991d2c2f0eeb01ab356555bdb9841af0
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
Alessandro Portale
2023-02-08 11:15:14 +01:00
parent ccbee9bf42
commit 48affa1889
17 changed files with 45 additions and 31 deletions

View File

@@ -2,8 +2,10 @@
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
#include "fossilclient.h"
#include "fossileditor.h"
#include "constants.h"
#include "fossileditor.h"
#include "fossiltr.h"
#include <vcsbase/vcsbaseplugin.h>
#include <vcsbase/vcsbaseeditor.h>