Solve cppcheck warnings

This commit is contained in:
lupoDharkael
2018-05-26 18:38:06 +02:00
parent dcaa2e321f
commit 49227fac43
15 changed files with 13 additions and 28 deletions

View File

@@ -563,10 +563,6 @@ void CaptureWidget::initSelection() {
m_selection->setGeometry(QRect());
}
void CaptureWidget::initWidget() {
}
void CaptureWidget::setState(CaptureButton *b) {
if (!b) {
return;
@@ -826,10 +822,6 @@ void CaptureWidget::childLeave() {
update();
}
int CaptureWidget::handleSize() {
return (QApplication::fontMetrics().height() * 0.7);
}
void CaptureWidget::copyScreenshot() {
m_captureDone = true;
ScreenshotSaver().saveToClipboard(pixmap());