mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
clang-format: Set column width to 140
* Set column width to 140 * Use c++20 * Remove redundant virtual
This commit is contained in:
@@ -115,7 +115,7 @@ void RiuQPlainTextEdit::slotExportToFile()
|
||||
if ( dialog )
|
||||
{
|
||||
QString defaultDir = RicAsciiExportSummaryPlotFeature::defaultExportDir();
|
||||
auto fileName = RicAsciiExportSummaryPlotFeature::getFileNameFromUserDialog( dialog->description(), defaultDir );
|
||||
auto fileName = RicAsciiExportSummaryPlotFeature::getFileNameFromUserDialog( dialog->description(), defaultDir );
|
||||
RicAsciiExportSummaryPlotFeature::exportTextToFile( fileName, this->toPlainText() );
|
||||
}
|
||||
}
|
||||
@@ -279,8 +279,7 @@ RiuQPlainTextEdit* RiuTabbedTextDialog::currentTextEdit() const
|
||||
void RiuTabbedTextDialog::updateTabText()
|
||||
{
|
||||
auto currIndex = m_tabWidget->currentIndex();
|
||||
if ( m_textProvider && m_textProvider->isValid() &&
|
||||
m_tabWidget->tabText( currIndex ) == m_textProvider->tabTitle( currIndex ) )
|
||||
if ( m_textProvider && m_textProvider->isValid() && m_tabWidget->tabText( currIndex ) == m_textProvider->tabTitle( currIndex ) )
|
||||
{
|
||||
m_tabTexts[currIndex] = m_textProvider->tabText( currIndex );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user