Remove dead code

Just some code that was commented out and only adds to the
confusion.

Change-Id: Icfdf81de9731eeb2c473a2f6e2723742601a2037
Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
This commit is contained in:
Eskil Abrahamsen Blomfeldt 2013-04-02 12:19:24 +02:00 committed by The Qt Project
parent c4611dc168
commit 72e9cad560
2 changed files with 0 additions and 15 deletions

View File

@ -616,7 +616,6 @@ public class QtActivityDelegate
} catch (Exception e) {
e.printStackTrace();
}
// setFullScreen(savedInstanceState.getBoolean("FullScreen"));
m_started = savedInstanceState.getBoolean("Started");
if (m_started)
m_surface.applicationStarted(true);

View File

@ -107,20 +107,6 @@ public class QtSurface extends SurfaceView implements SurfaceHolder.Callback
if (m_usesGL)
holder.setFormat(PixelFormat.RGBA_8888);
// if (!m_started)
// return;
//
// if (m_usesGL)
// QtApplication.setSurface(holder.getSurface());
// else
// {
// QtApplication.lockSurface();
// QtApplication.setSurface(null);
// m_bitmap=Bitmap.createBitmap(getWidth(), getHeight(), Bitmap.Config.RGB_565);
// QtApplication.setSurface(m_bitmap);
// QtApplication.unlockSurface();
// }
}
@Override