"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/SessionsDlgImpl.cpp" between
MP3Diags-unstable-1.3.04.tar.gz and MP3Diags-unstable-1.5.01.tar.gz

About: MP3 Diags finds problems in MP3 files and helps the user to fix many of them (with a GUI). Also includes a tag editor and a file renamer.

SessionsDlgImpl.cpp  (MP3Diags-unstable-1.3.04):SessionsDlgImpl.cpp  (MP3Diags-unstable-1.5.01)
skipping to change at line 102 skipping to change at line 102
//vector<string> vstrSess; //vector<string> vstrSess;
string strLast; string strLast;
//m_pSettings = SessionSettings::getGlobalSettings(); //m_pSettings = SessionSettings::getGlobalSettings();
GlobalSettings st; GlobalSettings st;
bool bOpenLast; bool bOpenLast;
st.loadSessions(m_vstrSessions, strLast, bOpenLast, m_strTempSessTempl, m_st rDirSessTempl, m_strTranslation); st.loadSessions(m_vstrSessions, strLast, bOpenLast, m_strTempSessTempl, m_st rDirSessTempl, m_strTranslation);
m_pOpenLastCkB->setChecked(bOpenLast); m_pOpenLastCkB->setChecked(bOpenLast);
m_pSessionsG->verticalHeader()->setResizeMode(QHeaderView::Interactive); m_pSessionsG->verticalHeader()->setSectionResizeMode(QHeaderView::Interactiv e);
m_pSessionsG->verticalHeader()->setMinimumSectionSize(CELL_HEIGHT + 1); // t tt0 is this initialized before creating sessions? should it be? m_pSessionsG->verticalHeader()->setMinimumSectionSize(CELL_HEIGHT + 1); // t tt0 is this initialized before creating sessions? should it be?
m_pSessionsG->verticalHeader()->setDefaultSectionSize(CELL_HEIGHT + 1);//*/ m_pSessionsG->verticalHeader()->setDefaultSectionSize(CELL_HEIGHT + 1);//*/
m_pSessionsG->setModel(&m_sessionsModel); m_pSessionsG->setModel(&m_sessionsModel);
m_pSessionsG->horizontalHeader()->setResizeMode(0, QHeaderView::Stretch); m_pSessionsG->horizontalHeader()->setSectionResizeMode(0, QHeaderView::Stret
m_pSessionsG->horizontalHeader()->setResizeMode(0, QHeaderView::Stretch); ch);
m_pSessionsG->horizontalHeader()->setSectionResizeMode(0, QHeaderView::Stret
ch);
m_pSessionsG->horizontalHeader()->hide(); m_pSessionsG->horizontalHeader()->hide();
m_pCheckedDirModel = new CheckedDirModel(this, CheckedDirModel::NOT_USER_CHE CKABLE); m_pCheckedDirModel = new CheckedDirModel(this, CheckedDirModel::NOT_USER_CHE CKABLE);
m_pDirectoriesT->header()->hide(); m_pDirectoriesT->header()->hide();
m_pDirectoriesT->setModel(m_pCheckedDirModel); m_pDirectoriesT->setModel(m_pCheckedDirModel);
m_pCheckedDirModel->setFilter(QDir::AllDirs | QDir::NoDotAndDotDot | QDir::H idden | QDir::Drives); m_pCheckedDirModel->setFilter(QDir::AllDirs | QDir::NoDotAndDotDot | QDir::H idden | QDir::Drives);
m_pCheckedDirModel->setSorting(QDir::IgnoreCase); m_pCheckedDirModel->setSorting(QDir::IgnoreCase);
m_pDirectoriesT->header()->setStretchLastSection(false); m_pDirectoriesT->he ader()->setResizeMode(0, QHeaderView::ResizeToContents); m_pDirectoriesT->header()->setStretchLastSection(false); m_pDirectoriesT->he ader()->setSectionResizeMode(0, QHeaderView::ResizeToContents);
QPalette grayPalette (m_pDirectoriesT->palette()); QPalette grayPalette (m_pDirectoriesT->palette());
grayPalette.setColor(QPalette::Base, grayPalette.color(QPalette::Disabled, Q Palette::Window)); grayPalette.setColor(QPalette::Base, grayPalette.color(QPalette::Disabled, Q Palette::Window));
m_pDirectoriesT->setPalette(grayPalette); m_pDirectoriesT->setPalette(grayPalette);
loadTemplates(); loadTemplates();
//m_sessionsModel.emitLayoutChanged(); //m_sessionsModel.emitLayoutChanged();
connect(m_pSessionsG->selectionModel(), SIGNAL(selectionChanged(const QItemS election&, const QItemSelection&)), this, SLOT(onCrtSessChanged())); connect(m_pSessionsG->selectionModel(), SIGNAL(selectionChanged(const QItemS election&, const QItemSelection&)), this, SLOT(onCrtSessChanged()));
 End of changes. 3 change blocks. 
4 lines changed or deleted 6 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)