fix -Wextra in FreeCADGui
This commit is contained in:
@@ -54,7 +54,7 @@ namespace Gui {
|
||||
class SplashObserver : public Base::ConsoleObserver
|
||||
{
|
||||
public:
|
||||
SplashObserver(QSplashScreen* splasher=0, const char* name=0)
|
||||
SplashObserver(QSplashScreen* splasher=0)
|
||||
: splash(splasher), alignment(Qt::AlignBottom|Qt::AlignLeft), textColor(Qt::black)
|
||||
{
|
||||
Base::Console().AttachObserver(this);
|
||||
@@ -219,6 +219,8 @@ void AboutDialogFactory::setDefaultFactory(AboutDialogFactory *f)
|
||||
AboutDialog::AboutDialog(bool showLic, QWidget* parent)
|
||||
: QDialog(parent, Qt::FramelessWindowHint), ui(new Ui_AboutApplication)
|
||||
{
|
||||
Q_UNUSED(showLic);
|
||||
|
||||
setModal(true);
|
||||
ui->setupUi(this);
|
||||
ui->labelSplashPicture->setPixmap(getMainWindow()->splashImage());
|
||||
|
||||
Reference in New Issue
Block a user