forked from qt-creator/qt-creator
VCS: Use #ifdef WITH_TESTS instead of #if
Change-Id: I8e2003111d620c0f1708c97e6a02cbc921b031d9 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
ef3647ad43
commit
66985fa8d6
@@ -1522,7 +1522,7 @@ Core::IEditor* VcsBaseEditorWidget::locateEditorByTag(const QString &tag)
|
||||
|
||||
} // namespace VcsBase
|
||||
|
||||
#if WITH_TESTS
|
||||
#ifdef WITH_TESTS
|
||||
#include <QTest>
|
||||
|
||||
void VcsBase::VcsBaseEditorWidget::testDiffFileResolving(VcsBaseEditorWidget *editor)
|
||||
|
@@ -265,7 +265,7 @@ private:
|
||||
friend class Internal::ChangeTextCursorHandler;
|
||||
Internal::VcsBaseEditorWidgetPrivate *const d;
|
||||
|
||||
#if WITH_TESTS
|
||||
#ifdef WITH_TESTS
|
||||
public:
|
||||
static void testDiffFileResolving(VcsBaseEditorWidget *editor);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user