Port Step away from kdelibs4support
ClosedPublic

Authored by yurchor on Oct 3 2018, 6:46 PM.

Details

Summary

Just to get rid of unneeded dependence.

Test Plan
  1. Compile and install.
  2. Create a world and play with it.
  3. No differences should be observed when compared with the unported version.

Diff Detail

Repository
R341 Step
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
yurchor created this revision.Oct 3 2018, 6:46 PM
Restricted Application added a project: KDE Edu. · View Herald TranscriptOct 3 2018, 6:46 PM
Restricted Application added a subscriber: kde-edu. · View Herald Transcript
yurchor requested review of this revision.Oct 3 2018, 6:46 PM
cfeck added a subscriber: cfeck.Oct 3 2018, 7:42 PM
cfeck added inline comments.
step/mainwindow.cc
47

Did you check if there are no visual regressions when porting to QStatusBar? The KDELibs version did a few things differently.

step/worldscene.cc
129

You can combine resetMatrix() + setTransform(..., true) with setTransform(..., false)

yurchor marked 2 inline comments as done.Oct 3 2018, 7:57 PM
yurchor added inline comments.
step/mainwindow.cc
47

For now, the only thing the statusBar does is just "show()". So no regressions expected.

step/worldscene.cc
129

Fixed. Thanks.

yurchor updated this revision to Diff 42814.Oct 3 2018, 7:58 PM
yurchor marked 2 inline comments as done.

Fix setTransform

apol added a subscriber: apol.Oct 3 2018, 9:40 PM

Changes look good to me overall. +1

step/mainwindow.cc
50

Should be KNS3/DownloadDialog to match the others.

yurchor updated this revision to Diff 42819.Oct 3 2018, 9:44 PM
yurchor marked an inline comment as done.

Fine-tune the includes

cfeck added inline comments.Oct 3 2018, 10:13 PM
step/gascreationdialog.h
41

Maybe completely remove the Qt::WindowFlags stuff. In older Qt versions, it wasn't optional, and some previous porting retained it. I think we removed it elsewhere.

yurchor updated this revision to Diff 42833.Oct 4 2018, 6:01 AM
yurchor marked an inline comment as done.

Remove window flags

cfeck accepted this revision.Oct 4 2018, 7:37 PM
This revision is now accepted and ready to land.Oct 4 2018, 7:37 PM
This revision was automatically updated to reflect the committed changes.