You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
1.0 KiB
27 lines
1.0 KiB
9 years ago
|
From 3882e11e29f5d56b03d7b84dc14a358ad2477e8d Mon Sep 17 00:00:00 2001
|
||
|
From: Allen Winter <winter@kde.org>
|
||
|
Date: Sat, 2 Aug 2014 10:32:53 -0400
|
||
|
Subject: [PATCH 2/8] fix build with Qt4, which doesn't have QStringLiteral. so
|
||
|
use QString instead.
|
||
|
|
||
|
---
|
||
|
core/polkitqt1-authority.cpp | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/core/polkitqt1-authority.cpp b/core/polkitqt1-authority.cpp
|
||
|
index f25354d..155493e 100644
|
||
|
--- a/core/polkitqt1-authority.cpp
|
||
|
+++ b/core/polkitqt1-authority.cpp
|
||
|
@@ -182,7 +182,7 @@ void Authority::Private::init()
|
||
|
g_type_init();
|
||
|
|
||
|
m_systemBus = new QDBusConnection(QDBusConnection::connectToBus(QDBusConnection::SystemBus,
|
||
|
- QStringLiteral("polkit_qt_system_bus")));
|
||
|
+ QString("polkit_qt_system_bus")));
|
||
|
|
||
|
m_checkAuthorizationCancellable = g_cancellable_new();
|
||
|
m_enumerateActionsCancellable = g_cancellable_new();
|
||
|
--
|
||
|
2.5.0
|
||
|
|