src: bug fixes
* fixed gaps in code view line indication for different fonts * only allow latin fonts in fontpicker * don't show 'files to clear' for full refresh * fixed screen scale settings were visible on all platforms
This commit is contained in:
@@ -148,7 +148,7 @@ void QtIndexingDialog::updateRefreshInfo(const RefreshInfo& info)
|
||||
m_clearLabel->setText("Files to clear: " + QString::number(clearCount));
|
||||
m_indexLabel->setText("Source files to index: " + QString::number(indexCount));
|
||||
|
||||
m_clearLabel->setVisible(clearCount);
|
||||
m_clearLabel->setVisible(clearCount && info.mode != REFRESH_ALL_FILES);
|
||||
m_indexLabel->setVisible(true);
|
||||
}
|
||||
|
||||
|
||||
@@ -47,6 +47,7 @@ void QtProjectWizzardContentPreferences::populate(QGridLayout* layout, int& row)
|
||||
// font face
|
||||
m_fontFace = new QFontComboBox(this);
|
||||
m_fontFace->setFontFilters(QFontComboBox::MonospacedFonts);
|
||||
m_fontFace->setWritingSystem(QFontDatabase::Latin);
|
||||
m_fontFace->setEditable(false);
|
||||
addLabelAndWidget("Font Face", m_fontFace, layout, row);
|
||||
row++;
|
||||
@@ -85,7 +86,7 @@ void QtProjectWizzardContentPreferences::populate(QGridLayout* layout, int& row)
|
||||
|
||||
|
||||
// Linux UI scale
|
||||
// if (utility::getOsType() == OS_LINUX)
|
||||
if (utility::getOsType() == OS_LINUX)
|
||||
{
|
||||
// screen
|
||||
addTitle("SCREEN", layout, row);
|
||||
|
||||
Reference in New Issue
Block a user