2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Fix -Wunused-variable warnings

This commit is contained in:
Ilya Fedin
2021-07-13 21:51:07 +04:00
committed by John Preston
parent b6881022ce
commit 79cc797aff
156 changed files with 65 additions and 435 deletions

View File

@@ -80,7 +80,6 @@ void ConvertIconToBlack(QImage &image) {
constexpr auto igreen = shifter(green);
constexpr auto iblue = shifter(blue);
constexpr auto threshold = 100;
constexpr auto ithreshold = shifter(threshold);
const auto width = image.width();
const auto height = image.height();
@@ -789,7 +788,6 @@ void MainWindow::showRightColumn(object_ptr<TWidget> widget) {
setInnerFocus();
}
const auto nowRightWidth = _rightColumn ? _rightColumn->width() : 0;
const auto wasMaximized = isMaximized();
const auto wasMinimumWidth = minimumWidth();
const auto nowMinimumWidth = computeMinWidth();
const auto firstResize = (nowMinimumWidth < wasMinimumWidth);