Skip to content

Commit

Permalink
Use getMainWindow
Browse files Browse the repository at this point in the history
  • Loading branch information
droidmonkey committed Dec 26, 2024
1 parent b7c4f10 commit 1289637
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/DatabaseWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2393,7 +2393,7 @@ bool DatabaseWidget::performSave(QString& errorMessage, const QString& fileName)
QPointer<QWidget> focusWidget(qApp->focusWidget());

// Lock out interactions
QWidget *mainWindow = this->window();
auto mainWindow = getMainWindow();
if (mainWindow) {
mainWindow->setDisabled(true);
}
Expand Down

0 comments on commit 1289637

Please sign in to comment.