summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-02-15 20:30:54 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-02-15 20:30:54 (GMT)
commit385100e2bc6bda5d18c4fb833e1e757ef5d5c4a0 (patch)
treebc9b68a516e544a3bb2ef8aba8235e6e8a610a9c /Swift/QtUI
parent7a888846753b7f5059b4bc5f872dac45a92318a6 (diff)
downloadswift-385100e2bc6bda5d18c4fb833e1e757ef5d5c4a0.zip
swift-385100e2bc6bda5d18c4fb833e1e757ef5d5c4a0.tar.bz2
Fixed compilation.
Diffstat (limited to 'Swift/QtUI')
-rw-r--r--Swift/QtUI/QtSettingsProvider.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}