diff options
author | Remko Tronçon <git@el-tramo.be> | 2011-02-15 20:30:54 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2011-02-15 20:30:54 (GMT) |
commit | 385100e2bc6bda5d18c4fb833e1e757ef5d5c4a0 (patch) | |
tree | bc9b68a516e544a3bb2ef8aba8235e6e8a610a9c /Swift/QtUI | |
parent | 7a888846753b7f5059b4bc5f872dac45a92318a6 (diff) | |
download | swift-contrib-385100e2bc6bda5d18c4fb833e1e757ef5d5c4a0.zip swift-contrib-385100e2bc6bda5d18c4fb833e1e757ef5d5c4a0.tar.bz2 |
Fixed compilation.
Diffstat (limited to 'Swift/QtUI')
-rw-r--r-- | Swift/QtUI/QtSettingsProvider.cpp | 2 |
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; } |