Skip to content

Commit

Permalink
fix compile error on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
ddennedy committed Sep 21, 2024
1 parent d879571 commit 0d85b96
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/docks/encodedock.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2780,7 +2780,7 @@ void EncodeDock::on_resampleButton_clicked(bool checked)
setResampleEnabled(checked);
} else {
ui->resampleButton->setChecked(false);
MAIN.onShowSettingsMenu();
MAIN.showSettingsMenu();
}
} else {
setResampleEnabled(false);
Expand Down
4 changes: 2 additions & 2 deletions src/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -134,11 +134,11 @@ MainWindow::MainWindow()
, m_keyerGroup(0)
, m_previewScaleGroup(0)
, m_keyerMenu(0)
, m_multipleFilesLoading(false)
, m_isPlaylistLoaded(false)
, m_exitCode(EXIT_SUCCESS)
, m_upgradeUrl("https://www.shotcut.org/download/")
, m_keyframesDock(0)
, m_multipleFilesLoading(false)
{
#if defined(Q_OS_UNIX) && !defined(Q_OS_MAC)
QLibrary libJack("libjack.so.0");
Expand Down Expand Up @@ -5427,7 +5427,7 @@ void MainWindow::onCreateOrEditFilterOnOutput(Mlt::Filter *filter,
m_filterController->addOrEditFilter(filter, key_properties);
}

void MainWindow::onShowSettingsMenu() const
void MainWindow::showSettingsMenu() const
{
QPoint point(140 * devicePixelRatioF(), ui->menuBar->height());
#if !defined(Q_OS_MAC)
Expand Down
2 changes: 1 addition & 1 deletion src/mainwindow.h
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ public slots:
void onPropertiesDockTriggered(bool checked = true);
bool on_actionSave_triggered();
void onCreateOrEditFilterOnOutput(Mlt::Filter *filter, const QStringList &key_properties);
void onShowSettingsMenu() const;
void showSettingsMenu() const;

private slots:
void showUpgradePrompt();
Expand Down

0 comments on commit 0d85b96

Please sign in to comment.