jamulussoftware / jamulussoftware/jamulus

Use Consistent Qt style for ifdef

Open
#3,380 2 comments 0 reactions 0 assignees View on GitHub
refactoring
Dominant language
C
Stars
1.1k
Forks
248
Avg merge
2d 3h
Merged PRs (30d)
9

Description

Are the Windows and Android ones okay? Is the `Q_` a "Qt" thing that we can use for all platforms? What's the `OT_` thing?

_Originally posted by @pljones in https://github.com/jamulussoftware/jamulus/pull/3360#discussion_r1770578872_

The code should be refactored such that only one style is used. Probably Q_OS_WIN: https://doc.qt.io/qt-5/qtglobal.html#Q_OS_WIN

Contributor guide

Open the contributing guide

Research direction

Search the repository for the Q_ and OT_ platform conditionals, then compare the Windows and Android cases with the linked Qt Q_OS_WIN documentation. Done means the relevant platform guards consistently use one style and the existing platform behavior remains unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
operating-systems
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.