From 7cfce988407e6f97292c58e171ee673635fd200a Mon Sep 17 00:00:00 2001 From: Dominik Schmidt Date: Mon, 28 Jan 2013 17:15:16 +0100 Subject: [PATCH] Don't set dbFriendlyName if it's empty --- src/libtomahawk/Source.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/libtomahawk/Source.cpp b/src/libtomahawk/Source.cpp index bff883944..f5f2fc708 100644 --- a/src/libtomahawk/Source.cpp +++ b/src/libtomahawk/Source.cpp @@ -187,6 +187,9 @@ Source::dbFriendlyName() const void Source::setDbFriendlyName( const QString& dbFriendlyName ) { + if ( dbFriendlyName.isEmpty() ) + return; + m_dbFriendlyName = dbFriendlyName; }