delete inlines, trust the compiler
This commit is contained in:
@@ -80,7 +80,7 @@ private:
|
||||
|
||||
// aux methods
|
||||
void addToRegion(const QVector<QPoint> &points, const side s);
|
||||
inline void resetRegionTrack();
|
||||
void resetRegionTrack();
|
||||
|
||||
};
|
||||
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
@@ -50,7 +50,7 @@ public:
|
||||
~CaptureWidget();
|
||||
|
||||
void updateButtons();
|
||||
inline QPixmap pixmap();
|
||||
QPixmap pixmap();
|
||||
|
||||
private slots:
|
||||
void copyScreenshot();
|
||||
|
||||
Reference in New Issue
Block a user