explicitly compare latin1 strings in qassert (fixes build with debugfull)
This commit is contained in:
parent
bd078d5c23
commit
2c915037c7
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
void DecorationPlugin::registerTypes(const char *uri)
|
void DecorationPlugin::registerTypes(const char *uri)
|
||||||
{
|
{
|
||||||
Q_ASSERT(uri == QLatin1String("org.kde.kwin.decoration"));
|
Q_ASSERT(QLatin1String(uri) == QLatin1String("org.kde.kwin.decoration"));
|
||||||
qmlRegisterType<ColorHelper>(uri, 0, 1, "ColorHelper");
|
qmlRegisterType<ColorHelper>(uri, 0, 1, "ColorHelper");
|
||||||
qmlRegisterType<KWin::DecorationOptions>(uri, 0, 1, "DecorationOptions");
|
qmlRegisterType<KWin::DecorationOptions>(uri, 0, 1, "DecorationOptions");
|
||||||
qmlRegisterType<KWin::Borders>(uri, 0, 1, "Borders");
|
qmlRegisterType<KWin::Borders>(uri, 0, 1, "Borders");
|
||||||
|
|
Loading…
Reference in a new issue