diff --git a/clients/b2/b2client.cpp b/clients/b2/b2client.cpp index e5b6b00e6c..56afb58661 100644 --- a/clients/b2/b2client.cpp +++ b/clients/b2/b2client.cpp @@ -611,7 +611,7 @@ void B2Client::doShape() setMask(mask); } -void B2Client::showEvent(QShowEvent *ev) +void B2Client::showEvent(QShowEvent *) { calcHiddenButtons(); doShape(); diff --git a/clients/web/Web.cpp b/clients/web/Web.cpp index 022a8852ba..df513e842c 100644 --- a/clients/web/Web.cpp +++ b/clients/web/Web.cpp @@ -65,7 +65,7 @@ WebClient::init() widget()->setBackgroundMode(NoBackground); // title height - const uint textVMargin = 2; + const int textVMargin = 2; QFontMetrics fm(options()->font(isActive(), isTool())); // border size