mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2025-01-09 03:31:41 +00:00
GUI: fix compilation with Qt < 5.4
This commit is contained in:
parent
e96fbcd23a
commit
6502308256
@ -884,7 +884,7 @@ Tab::handleDroppedSpecialFiles(QStringList const &fileNames) {
|
||||
continue;
|
||||
}
|
||||
|
||||
auto content = file.read(1024).toStdString();
|
||||
auto content = std::string{ file.read(1024).data() };
|
||||
if (boost::regex_search(content, simpleChaptersRE) || boost::regex_search(content, xmlChaptersRE)) {
|
||||
Util::MessageBox::warning(this)
|
||||
->title(QY("Adding chapter files"))
|
||||
|
Loading…
Reference in New Issue
Block a user