Skip to content

Commit

Permalink
fix: compile issue on MacOS
Browse files Browse the repository at this point in the history
  • Loading branch information
le0zh committed Mar 25, 2023
1 parent 44b29a7 commit 50d1651
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main_window.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,11 @@ void MainWindow::removeTopic(int key) {
}
}

#ifndef Q_OS_MACOS
void MainWindow::setupWindow() {
setWindowIcon(QIcon(":/images/assets/icon.ico"));
}
#endif

void MainWindow::setupUI() {
QWidget* central_widget = new QWidget(this);
Expand Down

0 comments on commit 50d1651

Please sign in to comment.