X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fqt4%2FLyXScreenFactory.C;h=e1a4c3d44c13b090236fa9d22692ec44cbda51a1;hb=6a742b7aa0d898e9b365cbb14aa2ab781efaadbe;hp=6bcb0183d98c0a2b97b6d19378d134b45c9f459d;hpb=12e5a52b92efc3ff9946493176cbf7b73d878e81;p=lyx.git diff --git a/src/frontends/qt4/LyXScreenFactory.C b/src/frontends/qt4/LyXScreenFactory.C index 6bcb0183d9..e1a4c3d44c 100644 --- a/src/frontends/qt4/LyXScreenFactory.C +++ b/src/frontends/qt4/LyXScreenFactory.C @@ -1,5 +1,5 @@ /** - * \file qt2/LyXScreenFactory.C + * \file qt4/LyXScreenFactory.C * This file is part of LyX, the document processor. * Licence details can be found in the file COPYING. * @@ -13,13 +13,12 @@ #include "frontends/LyXScreenFactory.h" #include "QWorkArea.h" -#include "qscreen.h" namespace LyXScreenFactory { LyXScreen * create(WorkArea & owner) { - return new QScreen(static_cast(owner)); + return &(static_cast(owner)); } } // namespace LyXScreenFactory