From a01f06b4391c27ca48492c3b45a73f6bb3fec1cb Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Tue, 4 May 2021 08:45:27 +0300 Subject: [PATCH] Fix incorrect define the precompiled header file. Expected name is stable.h/cpp. --- src/app/puzzle/puzzle.pri | 7 ++----- src/app/puzzle/{vpstable.cpp => stable.cpp} | 4 ++-- src/app/puzzle/{vpstable.h => stable.h} | 8 ++++---- 3 files changed, 8 insertions(+), 11 deletions(-) rename src/app/puzzle/{vpstable.cpp => stable.cpp} (96%) rename src/app/puzzle/{vpstable.h => stable.h} (96%) diff --git a/src/app/puzzle/puzzle.pri b/src/app/puzzle/puzzle.pri index c0915d854..fe479e253 100644 --- a/src/app/puzzle/puzzle.pri +++ b/src/app/puzzle/puzzle.pri @@ -26,10 +26,11 @@ SOURCES += \ $$PWD/xml/vplayoutfilewriter.cpp \ $$PWD/xml/vplayoutliterals.cpp -*msvc*:SOURCES += +*msvc*:SOURCES += $$PWD/stable.cpp HEADERS += \ $$PWD/dialogs/vpdialogabout.h \ + $$PWD/stable.h \ $$PWD/vpapplication.h \ $$PWD/vpcarrousel.h \ $$PWD/vpcarrouselpiece.h \ @@ -47,7 +48,6 @@ HEADERS += \ $$PWD/vppiecelist.h \ $$PWD/vpsettings.h \ $$PWD/vpsheet.h \ - $$PWD/vpstable.h \ $$PWD/vptilefactory.h \ $$PWD/xml/vplayoutfilereader.h \ $$PWD/xml/vplayoutfilewriter.h \ @@ -57,6 +57,3 @@ FORMS += \ $$PWD/dialogs/vpdialogabout.ui \ $$PWD/vpcarrousel.ui \ $$PWD/vpmainwindow.ui - -SOURCES += \ - $$PWD/vpstable.cpp diff --git a/src/app/puzzle/vpstable.cpp b/src/app/puzzle/stable.cpp similarity index 96% rename from src/app/puzzle/vpstable.cpp rename to src/app/puzzle/stable.cpp index 3db0e2a5d..460b5cb9c 100644 --- a/src/app/puzzle/vpstable.cpp +++ b/src/app/puzzle/stable.cpp @@ -1,6 +1,6 @@ /************************************************************************ ** - ** @file vpstable.cpp + ** @file stable.cpp ** @author Roman Telezhynskyi ** @date November 15, 2013 ** @@ -27,4 +27,4 @@ *************************************************************************/ // Build the precompiled headers. -#include "vpstable.h" +#include "stable.h" diff --git a/src/app/puzzle/vpstable.h b/src/app/puzzle/stable.h similarity index 96% rename from src/app/puzzle/vpstable.h rename to src/app/puzzle/stable.h index b986a6f7c..22e9d4702 100644 --- a/src/app/puzzle/vpstable.h +++ b/src/app/puzzle/stable.h @@ -1,6 +1,6 @@ /************************************************************************ ** - ** @file vpstable.h + ** @file stable.h ** @author Roman Telezhynskyi ** @date November 15, 2013 ** @@ -26,8 +26,8 @@ ** *************************************************************************/ -#ifndef VPSTABLE_H -#define VPSTABLE_H +#ifndef STABLE_H +#define STABLE_H /* I like to include this pragma too, so the build log indicates if pre-compiled headers were in use. */ #pragma message("Compiling precompiled headers for puzzle utility.\n") @@ -69,4 +69,4 @@ #endif /*__cplusplus*/ -#endif // VPSTABLE_H +#endif // STABLE_H