Skip to content

Commit

Permalink
Fix styling on message boxes (#7608)
Browse files Browse the repository at this point in the history
  • Loading branch information
regulus79 authored Nov 30, 2024
1 parent 5acc796 commit e311832
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/gui/MixerChannelView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ bool MixerChannelView::confirmRemoval(int index)
ConfigManager::inst()->setValue("ui", "mixerchanneldeletionwarning", state ? "0" : "1");
});

QMessageBox mb(this);
QMessageBox mb;
mb.setText(messageRemoveTrack);
mb.setWindowTitle(messageTitleRemoveTrack);
mb.setIcon(QMessageBox::Warning);
Expand Down
2 changes: 1 addition & 1 deletion src/gui/tracks/TrackOperationsWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ bool TrackOperationsWidget::confirmRemoval()
ConfigManager::inst()->setValue("ui", "trackdeletionwarning", state ? "0" : "1");
});

QMessageBox mb(this);
QMessageBox mb;
mb.setText(messageRemoveTrack);
mb.setWindowTitle(messageTitleRemoveTrack);
mb.setIcon(QMessageBox::Warning);
Expand Down

0 comments on commit e311832

Please sign in to comment.