From 3062983d075761c457249b8c3c1248aa0d45e46a Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Thu, 9 Apr 2015 14:00:26 +0200 Subject: Use QByteArray instead of QString All identifiers should be latin1 and we make this explicit by using QByteArray. QString is reserved for strings that can be UTF-8 or alike. --- client/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client') diff --git a/client/main.cpp b/client/main.cpp index 61c1c1a..b4cb081 100644 --- a/client/main.cpp +++ b/client/main.cpp @@ -41,7 +41,7 @@ int main(int argc, char *argv[]) } for (const QString &resource: resources) { - Akonadi2::ResourceAccess *resAccess = new Akonadi2::ResourceAccess(resource); + Akonadi2::ResourceAccess *resAccess = new Akonadi2::ResourceAccess(resource.toLatin1()); QObject::connect(&app, &QCoreApplication::aboutToQuit, resAccess, &Akonadi2::ResourceAccess::close); resAccess->sendCommand(Akonadi2::Commands::SynchronizeCommand); -- cgit v1.2.3