D27524: Fix qCompare between strings.

Eric Dejouhanet <[email protected]>
Newsgroups gmane.comp.kde.education
Message-ID <[email protected]>
TallFurryMan created this revision.
TallFurryMan added a reviewer: mutlaqja.
Herald added a project: KDE Edu.
Herald added a subscriber: kde-edu.
TallFurryMan requested review of this revision.

REVISION SUMMARY
  Hotfix for a potential incompatibility with old Qt?
  The test code was qCompare'ing a QString with a const char pointer, and depending on the platform, was successfully casting between those, or not.

TEST PLAN
  None, this fixes a compile issue.

REPOSITORY
  R321 KStars

BRANCH
  bugfix__ui_tests (branched from master)

REVISION DETAIL
  https://phabricator.kde.org/D27524

AFFECTED FILES
  Tests/kstars_ui/test_ekos.cpp

To: TallFurryMan, mutlaqja
Cc: kde-edu, narvaez, apol
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.