Commit 05c120aa authored by Alexander Lohnau's avatar Alexander Lohnau 💬
Browse files

clazy: Fix empty QStringLiteral

See
https://github.com/KDE/clazy/blob/master/docs/checks/README-empty-qstringliteral.md,
also in the calling code the value is passed into a
KSharedConfig::openConfig method call which checks if the string is
empty and not null. Consequently the default constructor of QString can
be used.
parent e9e887db
......@@ -25,7 +25,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <Sonnet/Settings>
SpellCheckingSkeleton::SpellCheckingSkeleton(QObject *parent)
: KCoreConfigSkeleton(QStringLiteral(""), parent)
: KCoreConfigSkeleton(QString(), parent)
, m_store(new Sonnet::Settings(this))
{
// Associated with managed widget
......
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