[keyboard] Remove misplaced <br/> from user-visible message
This commit is contained in:
parent
d72df37333
commit
f0c8e02901
@ -11,7 +11,6 @@
|
|||||||
#include "Config.h"
|
#include "Config.h"
|
||||||
|
|
||||||
#include "SetKeyboardLayoutJob.h"
|
#include "SetKeyboardLayoutJob.h"
|
||||||
#include "keyboardwidget/keyboardpreview.h"
|
|
||||||
|
|
||||||
#include "GlobalStorage.h"
|
#include "GlobalStorage.h"
|
||||||
#include "JobQueue.h"
|
#include "JobQueue.h"
|
||||||
@ -501,10 +500,10 @@ Config::detectCurrentKeyboardLayout()
|
|||||||
QString
|
QString
|
||||||
Config::prettyStatus() const
|
Config::prettyStatus() const
|
||||||
{
|
{
|
||||||
QString status;
|
QString status
|
||||||
status
|
= tr( "Keyboard model has been set to %1.", "@label, %1 is keyboard model, as in Apple Magic Keyboard" )
|
||||||
+= tr( "Keyboard model has been set to %1<br/>.", "@label, %1 is keyboard model, as in Apple Magic Keyboard" )
|
.arg( m_keyboardModelsModel->label( m_keyboardModelsModel->currentIndex() ) );
|
||||||
.arg( m_keyboardModelsModel->label( m_keyboardModelsModel->currentIndex() ) );
|
status += QStringLiteral( "<br/>" );
|
||||||
|
|
||||||
QString layout = m_keyboardLayoutsModel->item( m_keyboardLayoutsModel->currentIndex() ).second.description;
|
QString layout = m_keyboardLayoutsModel->item( m_keyboardLayoutsModel->currentIndex() ).second.description;
|
||||||
QString variant = m_keyboardVariantsModel->currentIndex() >= 0
|
QString variant = m_keyboardVariantsModel->currentIndex() >= 0
|
||||||
|
Loading…
Reference in New Issue
Block a user