mirror of
https://gitlab.com/smart-pattern/valentina.git
synced 2024-09-08 01:54:37 +02:00
Fix build on mac os.
This commit is contained in:
parent
53905b624a
commit
7a386292b7
|
@ -1127,8 +1127,8 @@ void TMainWindow::AboutToShowDockMenu()
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
void TMainWindow::OpenAt(QAction *where)
|
void TMainWindow::OpenAt(QAction *where)
|
||||||
{
|
{
|
||||||
const QString path = curFile.left(curFile.indexOf(where->text())) + where->text();
|
const QString path = m_curFile.left(m_curFile.indexOf(where->text())) + where->text();
|
||||||
if (path == curFile)
|
if (path == m_curFile)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue