Skip to content
Snippets Groups Projects
Commit eddb91b9 authored by luyikei's avatar luyikei
Browse files

Helper: Use QStringLiteral

parent 8091060d
No related branches found
No related tags found
No related merge requests found
......@@ -26,7 +26,7 @@ using namespace Workflow;
Helper::Helper( const QString &uuid/* = QString()*/ )
{
if ( uuid.isNull() == true )
if ( uuid.isEmpty() == true )
m_uuid = QUuid::createUuid();
else
m_uuid = uuid;
......
......@@ -34,7 +34,7 @@ namespace Workflow
Q_OBJECT
protected: //This class is not meant to be used by itself.
Helper( const QString &uuid = QString() );
Helper( const QString &uuid = QStringLiteral() );
~Helper();
public:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment