Commit eddb91b9 authored by luyikei's avatar luyikei

Helper: Use QStringLiteral

parent 8091060d
......@@ -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:
......
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