mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 05:25:26 +00:00
compilation fixes following rev 13671
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13672 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
67d576f75e
commit
544d542c7d
@ -19,7 +19,7 @@
|
||||
|
||||
#include "lcolorcache.h"
|
||||
#include "qt_helpers.h"
|
||||
|
||||
#include "BufferView.h"
|
||||
#include "debug.h"
|
||||
#include "funcrequest.h"
|
||||
#include "LColor.h"
|
||||
@ -230,7 +230,10 @@ void QWorkArea::adjustViewWithScrollBar(int action)
|
||||
|
||||
void QWorkArea::haveSelection(bool own) const
|
||||
{
|
||||
wa_ptr = this;
|
||||
// static_cast is not possible here
|
||||
// wa_ptr = static_cast<QWorkArea*>(this);
|
||||
/// \todo ask X11 and MAC devels why this wa_ptr is useful.
|
||||
wa_ptr = (QWorkArea*)(this);
|
||||
|
||||
if (!QApplication::clipboard()->supportsSelection())
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user