Clear some unused stuff and old comments

This commit is contained in:
Filippo Gentile 2023-03-25 15:51:32 +01:00
parent 4e6f49dd44
commit 7ac337a181
2 changed files with 0 additions and 6 deletions

View File

@ -362,7 +362,6 @@ void RollingStockManager::importRS(bool resume, QWidget *parent)
void RollingStockManager::onViewRSPlan()
{
//TODO: use also a search if requested RS is not in current page
QModelIndex idx = rsView->currentIndex();
if(!idx.isValid())
return;
@ -375,8 +374,6 @@ void RollingStockManager::onViewRSPlan()
void RollingStockManager::onViewRSPlanSearch()
{
//TODO: add search dialog also for deleting owners/models/RS items.
RSMatchModelFactory factory(ModelModes::Rollingstock, Session->m_Db, this);
std::unique_ptr<ISqlFKMatchModel> matchModel;
matchModel.reset(factory.createModel());

View File

@ -77,9 +77,6 @@ public:
FIELD(JobLabelFontSize, "job_graph/job_label_font_size", qreal , 12.0)
QFont getJobLabelFont(); //TODO: settings
void setJobLabelFont(const QFont& f);
FIELD(FollowSelectionOnGraphChange, "job_graph/follow_selection_on_graph_change", bool, true)
FIELD(SyncSelectionOnAllGraphs, "job_graph/sync_job_selection", bool, true)