how to fix the mading error in deepin linux 15.11 ? #177
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
/home/liumwei/Downloads/deepin-topbar-master/deepin-topbar/src/frame/mainframe.cpp: In lambda function:
/home/liumwei/Downloads/deepin-topbar-master/deepin-topbar/src/frame/mainframe.cpp:332:21: warning: unused variable ‘ratio’ [-Wunused-variable]
const qreal ratio { devicePixelRatioF() };
^~~~~
In file included from /home/liumwei/Downloads/deepin-topbar-master/deepin-topbar/src/widgets/switchitem.cpp:1:0:
/home/liumwei/Downloads/deepin-topbar-master/deepin-topbar/src/widgets/switchitem.h: In member function ‘bool dtb::widgets::SwitchItem::checked() const’:
/home/liumwei/Downloads/deepin-topbar-master/deepin-topbar/src/widgets/switchitem.h:18:45: error: ‘class Dtk::Widget::DSwitchButton’ has no member named ‘isChecked’; did you mean ‘checked’?
bool checked() const { return m_switch->isChecked(); }
^~~~~~~~~
make[2]: *** [src/CMakeFiles/deepin-topbar.dir/widgets/switchitem.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/deepin-topbar.dir/all] Error 2
make: *** [all] Error 2