fix build errors in non-Apple code
parent
021383ffda
commit
d20fb20a67
|
@ -115,7 +115,7 @@ void AdvancedView::update(Cluster cluster)
|
|||
#if __linux__ || __APPLE__
|
||||
sshButton->setEnabled(exists);
|
||||
#else
|
||||
basicSSHButton->setEnabled(false);
|
||||
sshButton->setEnabled(false);
|
||||
#endif
|
||||
pauseButton->setText(getPauseLabel(isPaused));
|
||||
startButton->setText(getStartLabel(isRunning));
|
||||
|
|
|
@ -71,7 +71,7 @@ void BasicView::update(Cluster cluster)
|
|||
#if __linux__ || __APPLE__
|
||||
sshButton->setEnabled(exists);
|
||||
#else
|
||||
basicSSHButton->setEnabled(false);
|
||||
sshButton->setEnabled(false);
|
||||
#endif
|
||||
pauseButton->setText(getPauseLabel(isPaused));
|
||||
startButton->setText(getStartLabel(isRunning));
|
||||
|
|
|
@ -194,12 +194,14 @@ void CommandRunner::outputReady()
|
|||
emit output(text);
|
||||
}
|
||||
|
||||
#if __APPLE__
|
||||
void CommandRunner::setMinikubePath()
|
||||
{
|
||||
m_env = QProcessEnvironment::systemEnvironment();
|
||||
QString path = m_env.value("PATH") + ":/usr/local/bin";
|
||||
m_env.insert("PATH", path);
|
||||
}
|
||||
#endif
|
||||
|
||||
void CommandRunner::minikubePath()
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue