Merged in ValentinaZhuravska/valentina/feature (pull request #69)

Fixed synchronization

--HG--
branch : develop
This commit is contained in:
Roman Telezhinskyi 2015-10-18 16:40:01 +03:00
commit 7a14bf255b
2 changed files with 2 additions and 2 deletions

View file

@ -183,7 +183,7 @@ QGroupBox *TapePathPage::PathGroup()
void TapePathPage::InitTable()
{
pathTable = new QTableWidget();
pathTable->setRowCount(4);
pathTable->setRowCount(3);
pathTable->setColumnCount(2);
pathTable->verticalHeader()->setVisible(false);
pathTable->setEditTriggers(QAbstractItemView::NoEditTriggers);

View file

@ -91,7 +91,7 @@ void VSettings::SetLabelLanguage(const QString &value)
//---------------------------------------------------------------------------------------------------------------------
QString VSettings::GetPathPattern() const
{
QSettings settings(this->format(), this->scope(), this->organizationName());
QSettings settings(this->format(), this->scope(), this->organizationName(), this->applicationName());
return settings.value(SettingPathsPattern, QDir::homePath()).toString();
}