Browse Source

Add more compiler warnings

tags/v5.0.0^2
ArsenArsen 5 years ago
parent
commit
07c29526b1
No known key found for this signature in database
GPG Key ID: 683D2F43B0CA4BD2
  1. 2
      src/screenoverlay/screenoverlaysettings.cpp
  2. 2
      src/src.pro

2
src/screenoverlay/screenoverlaysettings.cpp

@ -5,7 +5,7 @@
#include <QColorDialog>
ScreenOverlaySettings::ScreenOverlaySettings(ScreenOverlay *overlay, QWidget *parent)
: overlay(overlay), QDialog(parent), ui(new Ui::ScreenOverlaySettings) {
: QDialog(parent), ui(new Ui::ScreenOverlaySettings), overlay(overlay) {
ui->setupUi(this);
ui->gridBox->setChecked(overlay->grid());

2
src/src.pro

@ -11,6 +11,8 @@ TEMPLATE = app
CONFIG += c++11 thread
QMAKE_CXXFLAGS += -Werror -Wall -Wpedantic -Wextra
# The following define makes your compiler emit warnings if you use
# any feature of Qt which as been marked as deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the

Loading…
Cancel
Save