Commit f64348aa authored by Elvis Angelaccio's avatar Elvis Angelaccio
Browse files

Fix compilation error

The error was:
error: use of overloaded operator '=' is ambiguous
note: candidate is the implicit move assignment operator
note: candidate is the implicit copy assignment operator
parent 60055b6c
......@@ -67,25 +67,25 @@ static const QMap<QString /* mimetype */, QString /* .ext */> ExtensionsMap = []
static const QMap<QString /* mimetype */, QStringList /* target mimetypes */ > ConversionMap = []() {
QMap<QString, QStringList> map;
map[VND_GOOGLE_APPS_DOCUMENT] = {
map[VND_GOOGLE_APPS_DOCUMENT] = QStringList {
VND_OASIS_OPENDOCUMENT_TEXT,
VND_OPENXMLFORMATS_OFFICEDOCUMENT_WORDPROCESSINGML_DOCUMENT,
APPLICATION_PDF
};
map[VND_GOOGLE_APPS_DRAWING] = {
map[VND_GOOGLE_APPS_DRAWING] = QStringList {
IMAGE_PNG,
IMAGE_JPEG,
APPLICATION_PDF
};
map[VND_GOOGLE_APPS_PRESENTATION] = {
map[VND_GOOGLE_APPS_PRESENTATION] = QStringList {
VND_OASIS_OPENDOCUMENT_PRESENTATION,
VND_OPENXMLFORMATS_OFFICEDOCUMENT_PRESENTATIONML_PRESENTATION,
APPLICATION_PDF
};
map[VND_GOOGLE_APPS_SPREADSHEET] = {
map[VND_GOOGLE_APPS_SPREADSHEET] = QStringList {
VND_OASIS_OPENDOCUMENT_SPREADSHEED,
VND_OPENXMLFORMATS_OFFICEDOCUMENT_SPREADSHEETML_SHEET,
APPLICATION_PDF
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment