Commit 1defe4f6 authored by James Beddek's avatar James Beddek Committed by Kurt Hindenburg
Browse files

EditProfileDialog: fix build with Clang and libc++

Convert std::array to a static const built-in array

BUG: 443420

Signed-off-by: James Beddek's avatarJames Beddek <telans@posteo.de>
parent 2e07ede4
Pipeline #88041 passed with stage
in 1 minute and 53 seconds
......@@ -1661,7 +1661,7 @@ void EditProfileDialog::setupMousePage(const Profile::Ptr &profile)
void EditProfileDialog::setTextEditorCombo(const Profile::Ptr &profile)
{
std::array<Enum::TextEditorCmd, 7> editorsList =
static const Enum::TextEditorCmd editorsList[] =
{Enum::Kate, Enum::KWrite, Enum::KDevelop, Enum::QtCreator, Enum::Gedit, Enum::gVim, Enum::CustomTextEditor};
auto *editorCombo = _mouseUi->textEditorCombo;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment