clean up warnings

This commit is contained in:
Rasmus Karlsson
2018-09-30 17:15:17 +00:00
parent a2fb4ca104
commit cd571a7e25
7 changed files with 28 additions and 30 deletions
+1 -1
View File
@@ -6,7 +6,7 @@
namespace chatterino {
class Link;
struct Link;
class ChannelView;
class Channel;
using ChannelPtr = std::shared_ptr<Channel>;
@@ -139,7 +139,7 @@ HighlightingPage::HighlightingPage()
auto selectFile =
customSound.emplace<QPushButton>("Select custom sound file");
QObject::connect(selectFile.getElement(), &QPushButton::clicked,
this, [this, app] {
this, [this] {
auto fileName = QFileDialog::getOpenFileName(
this, tr("Open Sound"), "",
tr("Audio Files (*.mp3 *.wav)"));
+1 -1
View File
@@ -90,7 +90,7 @@ ModerationPage::ModerationPage()
// Logs (copied from LoggingMananger)
getSettings()->logPath.connect(
[app, logsPathLabel](const QString &logPath, auto) mutable {
[logsPathLabel](const QString &logPath, auto) mutable {
QString pathOriginal;
if (logPath == "") {