From 0acf34a0de6d72819e35bd04631df02cb75768f1 Mon Sep 17 00:00:00 2001 From: Marc Zinnschlag Date: Thu, 28 Jul 2011 10:03:44 +0200 Subject: [PATCH] boost compatibility fix --- apps/launcher/datafilespage.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/launcher/datafilespage.cpp b/apps/launcher/datafilespage.cpp index 545595ab87..f16f716e8e 100644 --- a/apps/launcher/datafilespage.cpp +++ b/apps/launcher/datafilespage.cpp @@ -142,7 +142,7 @@ void DataFilesPage::setupDataFiles(const QStringList &paths, bool strict) for (Files::MultiDirCollection::TIter iter(esm.begin()); iter!=esm.end(); ++iter) { - QString currentMaster = QString::fromStdString(iter->second.filename().string()); + QString currentMaster = QString::fromStdString(std::string (iter->second.filename())); const QList itemList = mMastersWidget->findItems(currentMaster, Qt::MatchExactly); if (itemList.isEmpty()) // Master is not yet in the widget @@ -186,7 +186,7 @@ void DataFilesPage::setupDataFiles(const QStringList &paths, bool strict) // Now we put the current plugin in the mDataFilesModel under its masters QStandardItem *parent = new QStandardItem(availableMasters.join(",")); - QStandardItem *child = new QStandardItem(QString::fromStdString(iter->second.filename().string())); + QStandardItem *child = new QStandardItem(QString::fromStdString(std::string (iter->second.filename()))); const QList masterList = mDataFilesModel->findItems(availableMasters.join(","));