delete inlines, trust the compiler

This commit is contained in:
lupoDharkael
2017-08-16 14:34:16 +02:00
parent 4a56f44bb9
commit 6cefead0fc
10 changed files with 15 additions and 15 deletions

View File

@@ -80,7 +80,7 @@ private:
// aux methods
void addToRegion(const QVector<QPoint> &points, const side s);
inline void resetRegionTrack();
void resetRegionTrack();
};

View File

@@ -31,7 +31,7 @@ namespace {
const int BUTTON_SIZE = 30;
inline qreal getColorLuma(const QColor &c) {
qreal getColorLuma(const QColor &c) {
return 0.30 * c.redF() + 0.59 * c.greenF() + 0.11 * c.blueF();
}

View File

@@ -50,7 +50,7 @@ public:
~CaptureWidget();
void updateButtons();
inline QPixmap pixmap();
QPixmap pixmap();
private slots:
void copyScreenshot();