Legacy cleanup, part 2 (#3659)
* Legacy cleanup, part 2 There are still things that can be removed, those will be likely done in part three: `The Return of the Cleanup` :) Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com> * Fix windows build Somehow there were some unfixed errors from enabled warnings? I'm unsure if I've pulled repo in unstable state, or those were somehow missed. Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>
This commit is contained in:
@@ -19,9 +19,6 @@
|
||||
|
||||
#include <AtomLyIntegration/AtomViewportDisplayInfo/AtomViewportInfoDisplayBus.h>
|
||||
|
||||
// CryCommon
|
||||
#include <CryCommon/SFunctor.h>
|
||||
|
||||
// Editor
|
||||
#include "Settings.h"
|
||||
#include "ViewPane.h"
|
||||
@@ -800,8 +797,8 @@ void CViewportTitleDlg::OnSystemEvent(ESystemEvent event, UINT_PTR wparam, UINT_
|
||||
const int eventHeight = static_cast<int>(lparam);
|
||||
const QWidget* viewport = m_pViewPane->GetViewport();
|
||||
|
||||
// This should eventually be converted to an EBus to make it easy to connect to the correct viewport
|
||||
// sending the event. But for now, just detect that we've gotten width/height values that match our
|
||||
// This should eventually be converted to an EBus to make it easy to connect to the correct viewport
|
||||
// sending the event. But for now, just detect that we've gotten width/height values that match our
|
||||
// associated viewport
|
||||
if (viewport && (eventWidth == viewport->width()) && (eventHeight == viewport->height()))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user