Removed the directoryLoaded() signal as it's only available in Qt 4.7.

pull/21/head
Pieter van der Kloet 14 years ago
parent 7a03266729
commit aa54975a2f

@ -118,19 +118,19 @@ DataFilesDialog::DataFilesDialog()
// Signals and slots
connect(dataFilesModel, SIGNAL(directoryLoaded(const QString &)), this, SLOT(setupView()));
// connect(dataFilesModel, SIGNAL(dataChanged(const QModelIndex, const QModelIndex)), this, SLOT(readConfig()));
//connect(dataFilesModel, SIGNAL(directoryLoaded(const QString &)), this, SLOT(setupView()));
connect(dataFilesView, SIGNAL(doubleClicked(QModelIndex)), this, SLOT(setCheckstate(QModelIndex)));
connect(selectionModel, SIGNAL(currentChanged(QModelIndex, QModelIndex)), this, SLOT(changeData(QModelIndex, QModelIndex)));
connect(lineFilter, SIGNAL(textChanged(const QString &)), this, SLOT(setFilter()));
connect(lineFilter, SIGNAL(textChanged(const QString&)), this, SLOT(setFilter()));
connect(buttonBox->button(QDialogButtonBox::RestoreDefaults), SIGNAL(clicked()), this, SLOT(restoreDefaults()));
connect(buttonBox, SIGNAL(accepted()), this, SLOT(writeConfig()));
connect(buttonBox, SIGNAL(rejected()), this, SLOT(close()));
readConfig();
setupView();
}
void DataFilesDialog::changeData(QModelIndex index, QModelIndex bottom)
@ -209,8 +209,6 @@ void DataFilesDialog::setupView()
void DataFilesDialog::readConfig()
{
qDebug() << "datachanged";
// Morrowind.ini settings
QSettings settings("Morrowind.ini",
QSettings::IniFormat);

Loading…
Cancel
Save