eliminate warnings
This commit is contained in:
parent
97a7a62fb1
commit
775148eb43
|
@ -4170,6 +4170,7 @@ void CppParser::handleVar(const QString& typePrefix,bool isExtern,bool isStatic,
|
|||
break;
|
||||
}
|
||||
//not function pointer, fall through
|
||||
[[fallthrough]];
|
||||
case '{':
|
||||
tempType="";
|
||||
if (mIndex+1<maxIndex
|
||||
|
|
|
@ -246,7 +246,7 @@ void ProjectGeneralWidget::updateIcons(const QSize &)
|
|||
}
|
||||
|
||||
|
||||
void ProjectGeneralWidget::on_cbType_currentIndexChanged(int index)
|
||||
void ProjectGeneralWidget::on_cbType_currentIndexChanged(int /*index*/)
|
||||
{
|
||||
std::shared_ptr<Project> project = pMainWindow->project();
|
||||
if (!project)
|
||||
|
|
|
@ -167,7 +167,7 @@
|
|||
</widget>
|
||||
</item>
|
||||
<item row="0" column="0" rowspan="2">
|
||||
<widget class="QWidget" name="widget" native="true">
|
||||
<widget class="QWidget" name="widget_3" native="true">
|
||||
<layout class="QVBoxLayout" name="verticalLayout_2">
|
||||
<item>
|
||||
<spacer name="verticalSpacer_2">
|
||||
|
|
|
@ -3786,7 +3786,6 @@ ScrollStyle QSynEdit::scrollBars() const
|
|||
|
||||
void QSynEdit::setScrollBars(ScrollStyle newScrollBars)
|
||||
{
|
||||
ScrollStyle oldScrollBars = mScrollBars;
|
||||
mScrollBars = newScrollBars;
|
||||
if (mScrollBars == ScrollStyle::ssBoth || mScrollBars == ScrollStyle::ssHorizontal) {
|
||||
if (mOptions.testFlag(eoHideShowScrollbars)) {
|
||||
|
|
Loading…
Reference in New Issue