mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 21:40:19 +00:00
Fix deprecation warning
This commit is contained in:
parent
2089fa7fa0
commit
548c165ae0
@ -1956,8 +1956,13 @@ public:
|
||||
filename_ = (filename.extension() == "lyx") ?
|
||||
toqstr(filename.onlyFileNameWithoutExt())
|
||||
: toqstr(filename.onlyFileName());
|
||||
#if (QT_VERSION >= QT_VERSION_CHECK(5, 15, 0))
|
||||
postfix_ = toqstr(filename.absoluteFilePath()).
|
||||
split("/", Qt::SkipEmptyParts);
|
||||
#else
|
||||
postfix_ = toqstr(filename.absoluteFilePath()).
|
||||
split("/", QString::SkipEmptyParts);
|
||||
#endif
|
||||
postfix_.pop_back();
|
||||
abs_ = toqstr(filename.absoluteFilePath());
|
||||
dottedPrefix_ = false;
|
||||
|
Loading…
Reference in New Issue
Block a user