keep compatibility with qt5.7

pull/1/head
Michail Vourlakos 8 years ago
parent 62df2cf3ca
commit d3b6ce0ac6

@ -750,7 +750,7 @@ bool LayoutConfigDialog::saveAllChanges()
//!if the layout name changed or when the layout path is a temporary one
if (layout->name() != name || (id.startsWith("/tmp/"))) {
QString tempFile = layoutTempDir.filePath(QString(layout->name() + ".layout.latte"));
QString tempFile = layoutTempDir.path() + "/" + QString(layout->name() + ".layout.latte");
qDebug() << "new temp file ::: " << tempFile;
if (layout->name() == m_manager->currentLayoutName()) {

Loading…
Cancel
Save