Refactoring. Rename GetPPath() to GetPatternPath(). Changes for Mac.
--HG-- branch : develop
This commit is contained in:
parent
09e8c81d6f
commit
0ef32da1d8
|
@ -1911,8 +1911,8 @@ void MainWindow::SyncMeasurements()
|
|||
#if defined(Q_OS_MAC)
|
||||
void MainWindow::OpenAt(QAction *where)
|
||||
{
|
||||
const QString path = qApp->GetPPath().left(qApp->GetPPath().indexOf(where->text())) + where->text();
|
||||
if (path == qApp->GetPPath())
|
||||
const QString path = qApp->GetPatternPath().left(qApp->GetPatternPath().indexOf(where->text())) + where->text();
|
||||
if (path == qApp->GetPatternPath())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
@ -5533,7 +5533,7 @@ void MainWindow::UpdateWindowTitle()
|
|||
static QIcon fileIcon = QIcon(QCoreApplication::applicationDirPath() +
|
||||
QLatin1String("/../Resources/Valentina.icns"));
|
||||
QIcon icon;
|
||||
if (not qApp->GetPPath().isEmpty())
|
||||
if (not qApp->GetPatternPath().isEmpty())
|
||||
{
|
||||
if (not isWindowModified())
|
||||
{
|
||||
|
|
|
@ -265,7 +265,7 @@ void VControlPointSpline::Init()
|
|||
|
||||
controlLine = new VScaledLine(this);
|
||||
controlLine->SetBoldLine(false);
|
||||
controlLine->setFlag(QGraphicsItem::ItemStacksBehindParent, true);
|
||||
//controlLine->setFlag(QGraphicsItem::ItemStacksBehindParent, true);
|
||||
controlLine->setVisible(false);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user