Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Commented out debug statement causing compilation failure on OSX. #35

Merged
merged 2 commits into from
Jul 6, 2013
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/dlgprefsound.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -102,15 +102,15 @@ DlgPrefSound::DlgPrefSound(QWidget *pParent, SoundManager *pSoundManager,
connect(m_pMasterLatency, SIGNAL(valueChanged(double)),
this, SLOT(masterLatencyChanged(double)));

#ifdef __LINUX__
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe wrap these in a linux-specific ifdef instead?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That makes sense. I can enclose them in the ifdef that follows, which weirdly doesn't encapsulate the body of the if statement. I compared it to older code and the if body code is new and should be included in the ifdef as far as I can tell.

qDebug() << "RLimit Cur " << RLimit::getCurRtPrio();
qDebug() << "RLimit Max " << RLimit::getMaxRtPrio();

#ifdef __LINUX__
if (RLimit::isRtPrioAllowed())
#endif // __LINUX__
{

if (RLimit::isRtPrioAllowed()) {
limitsHint->hide();
}
#endif // __LINUX__

}

DlgPrefSound::~DlgPrefSound() {
Expand Down