Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.0:Ports
qucs
qucs-no-return-in-nonvoid-function.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File qucs-no-return-in-nonvoid-function.patch of Package qucs
diff --git a/qucs/dialogs/exportdialog.cpp b/qucs/dialogs/exportdialog.cpp index a23047a..15bf988 100644 --- a/qucs/dialogs/exportdialog.cpp +++ b/qucs/dialogs/exportdialog.cpp @@ -331,11 +331,18 @@ void ExportDialog::recalcScale() ExportDialog::ImgFormat ExportDialog::getImgFormat() { + // default + ExportDialog::ImgFormat ImgFormat = ExportDialog::Coloured; + switch (cbxImgType->currentIndex()) { - case 0 : return ExportDialog::Coloured; + case 0 : + ImgFormat = ExportDialog::Coloured; break; - case 1 : return ExportDialog::Monochrome; + case 1 : + ImgFormat = ExportDialog::Monochrome; break; default : break; } + + return ImgFormat; }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor