Add more compiler warnings

This commit is contained in:
ArsenArsen 2017-12-08 12:26:26 +01:00
parent 1a22158b3d
commit 07c29526b1
No known key found for this signature in database
GPG Key ID: 683D2F43B0CA4BD2
2 changed files with 3 additions and 1 deletions

View File

@ -5,7 +5,7 @@
#include <QColorDialog> #include <QColorDialog>
ScreenOverlaySettings::ScreenOverlaySettings(ScreenOverlay *overlay, QWidget *parent) 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->setupUi(this);
ui->gridBox->setChecked(overlay->grid()); ui->gridBox->setChecked(overlay->grid());

View File

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