Header refactoring patches

Pavel Sanda sanda at lyx.org
Sun Oct 25 21:09:42 UTC 2020


On Sun, Oct 25, 2020 at 09:09:00AM +0200, Yuriy Skalko wrote:
> --- a/src/frontends/Clipboard.h
> +++ b/src/frontends/Clipboard.h
> @@ -14,6 +14,7 @@
>  #ifndef BASE_CLIPBOARD_H
>  #define BASE_CLIPBOARD_H
>  
> +#include "support/FileName.h"
>  #include "support/strfwd.h"
>  
>  namespace lyx {
> diff --git a/src/frontends/qt/GuiKeySymbol.h b/src/frontends/qt/GuiKeySymbol.h
> index e4a59b7f5e..a3293d7c2f 100644
> --- a/src/frontends/qt/GuiKeySymbol.h
> +++ b/src/frontends/qt/GuiKeySymbol.h
> @@ -13,7 +13,8 @@
>  #ifndef GUIKEYSYM_H
>  #define GUIKEYSYM_H
>  
> -class QKeyEvent;
> +#include "KeySymbol.h"
> +#include <QKeyEvent>
>  
>  namespace lyx {
>  


These two look strange, how did we compile before if these two are needed? P


More information about the lyx-devel mailing list