mirror of https://github.com/PCSX2/pcsx2.git
GameList: Mark search directory cells as read-only
This commit is contained in:
parent
2aec91d8c0
commit
364e6a1341
|
@ -96,6 +96,7 @@ void GameListSettingsWidget::addPathToTable(const std::string& path, bool recurs
|
|||
|
||||
QTableWidgetItem* item = new QTableWidgetItem();
|
||||
item->setText(QString::fromStdString(path));
|
||||
item->setFlags(item->flags() & ~(Qt::ItemIsEditable));
|
||||
m_ui.searchDirectoryList->setItem(row, 0, item);
|
||||
|
||||
QCheckBox* cb = new QCheckBox(m_ui.searchDirectoryList);
|
||||
|
|
|
@ -21,8 +21,6 @@
|
|||
|
||||
class SettingsDialog;
|
||||
|
||||
class GameListSearchDirectoriesModel;
|
||||
|
||||
class GameListSettingsWidget : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
|
Loading…
Reference in New Issue