forked from qt-creator/qt-creator
CppCheck: Tr::tr and code cosmetics
Change-Id: I5e6583984f7dc94e998df3c20840f2ba2e801ab8 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -17,8 +17,7 @@ QT_END_NAMESPACE
|
||||
|
||||
namespace Utils { class PathChooser; }
|
||||
|
||||
namespace Cppcheck {
|
||||
namespace Internal {
|
||||
namespace Cppcheck::Internal {
|
||||
|
||||
class CppcheckTool;
|
||||
class CppcheckTrigger;
|
||||
@@ -48,7 +47,6 @@ public:
|
||||
|
||||
class OptionsWidget final : public QWidget
|
||||
{
|
||||
Q_DECLARE_TR_FUNCTIONS(CppcheckOptionsPage)
|
||||
public:
|
||||
explicit OptionsWidget(QWidget *parent = nullptr);
|
||||
void load(const CppcheckOptions &options);
|
||||
@@ -74,7 +72,6 @@ private:
|
||||
|
||||
class CppcheckOptionsPage final : public Core::IOptionsPage
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit CppcheckOptionsPage(CppcheckTool &tool, CppcheckTrigger &trigger);
|
||||
|
||||
@@ -91,5 +88,4 @@ private:
|
||||
QPointer<OptionsWidget> m_widget;
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace Cppcheck
|
||||
} // Cppcheck::Internal
|
||||
|
||||
Reference in New Issue
Block a user