Skip to content

Commit

Permalink
[ui] Fix unreadable text in the 'Font Install Failed' dialog under ni…
Browse files Browse the repository at this point in the history
…ght mapping theme
  • Loading branch information
nirvn authored and nyalldawson committed Sep 10, 2024
1 parent 2694848 commit c223344
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/qgisapp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2015,9 +2015,9 @@ QgisApp::QgisApp( QSplashScreen *splash, bool restorePlugins, bool skipBadLayers
if ( !error.isEmpty() )
{
QPushButton *detailsButton = new QPushButton( tr( "View Error" ) );
connect( detailsButton, &QPushButton::clicked, this, [detailsButton, error]
connect( detailsButton, &QPushButton::clicked, this, [error]
{
QgsMessageViewer *dialog = new QgsMessageViewer( detailsButton );
QgsMessageViewer *dialog = new QgsMessageViewer( nullptr, QgsGuiUtils::ModalDialogFlags, true );
dialog->setTitle( tr( "Font Install Failed" ) );
dialog->setMessage( error, QgsMessageOutput::MessageText );
dialog->showMessage();
Expand Down

0 comments on commit c223344

Please sign in to comment.