From 385100e2bc6bda5d18c4fb833e1e757ef5d5c4a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Remko=20Tron=C3=A7on?= <git@el-tramo.be> Date: Tue, 15 Feb 2011 21:30:54 +0100 Subject: Fixed compilation. diff --git a/Swift/QtUI/QtSettingsProvider.cpp b/Swift/QtUI/QtSettingsProvider.cpp index e8479a4..b563af1 100644 --- a/Swift/QtUI/QtSettingsProvider.cpp +++ b/Swift/QtUI/QtSettingsProvider.cpp @@ -48,7 +48,7 @@ std::vector<std::string> QtSettingsProvider::getAvailableProfiles() { std::vector<std::string> profiles; QVariant profilesVariant = settings_.value("profileList"); foreach(QString profileQString, profilesVariant.toStringList()) { - profiles.push_back(Q2PSTRING(profileQString)); + profiles.push_back(std::string(profileQString.toUtf8())); } return profiles; } -- cgit v0.10.2-6-g49f6