Verified Commit 8539d2dd authored by Fushan Wen's avatar Fushan Wen
Browse files

libtaskmanager: Use QByteArrayLiteral in Q_ASSERT

It's much faster to compare char* with QByteArrayLiteral.
parent 9fe7326a
Pipeline #166636 passed with stage
in 6 minutes and 48 seconds
......@@ -21,7 +21,7 @@ namespace TaskManager
{
void TaskManagerPlugin::registerTypes(const char *uri)
{
Q_ASSERT(uri == QLatin1String("org.kde.taskmanager"));
Q_ASSERT(uri == QByteArrayLiteral("org.kde.taskmanager"));
// Expose the AbstractTasksModel::AdditionalRoles enum to Qt Quick
// for use with the TasksModel::data invokable. TasksModel inherits
......
Supports Markdown
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