Commit 5c6a297f authored by Yuri Chornoivan's avatar Yuri Chornoivan
Browse files

Fix minor EBN issues

parent c1afa356
Pipeline #14979 passed with stage
in 12 minutes and 57 seconds
......@@ -519,6 +519,6 @@ install(EXPORT Okular5Targets DESTINATION "${CMAKECONFIG_INSTALL_DIR}" FILE Okul
feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)
message("-- Building Deskop User Interface: ${BUILD_DESKTOP}")
message("-- Building Desktop User Interface: ${BUILD_DESKTOP}")
message("-- Building Mobile Interface: ${BUILD_MOBILE}")
message("")
......@@ -93,7 +93,7 @@ static KJSObject printd( KJSContext *context, void *,
else
{
format = arguments.at( 0 ).toString( context ).replace( "tt", "ap" );
format.replace( "t", "a" );
format.replace( 't', 'a' );
for( QChar &formatChar : format )
{
if( formatChar == 'M' )
......
......@@ -93,7 +93,7 @@ static QString splitDNAttributes(const QStringList &text)
const QRegularExpressionMatch match = re.match( t );
if ( match.hasMatch() )
{
t = attribute + "=" + match.captured( 1 );
t = attribute + '=' + match.captured( 1 );
}
}
}
......
......@@ -31,14 +31,14 @@
*
* @par Intention
* Setting the default action of the toolbar button can be useful for:
* * Providing the most propably needed entry of a menu directly on the menu button.
* * Providing the most probably needed entry of a menu directly on the menu button.
* * Showing the last used menu entry on the menu button, including its checked state.
* The advantage is that the user often does not need to open the menu,
* and that the toolbar button shows additional information
* like checked state or the user's last selection.
*
* This shall replace the former ToolAction in Okular,
* while beeing flexible enough for other (planned) action menus.
* while being flexible enough for other (planned) action menus.
*/
class ToggleActionMenu : public KActionMenu
{
......@@ -103,7 +103,7 @@ public:
*
* It will be used if the default action is not determined another way.
* This is useful for ImplicitDefaultAction mode,
* when you can not guarrantee that one action in the menu
* when you can not guarantee that one action in the menu
* will be checked.
*
* @note
......
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