do a full reformat according to our current .clang-format
This commit is contained in:
@@ -12,7 +12,8 @@ namespace chatterino {
|
||||
void LinkResolver::getLinkInfo(
|
||||
const QString url, std::function<void(QString, Link)> successCallback)
|
||||
{
|
||||
if (!getSettings()->linkInfoTooltip) {
|
||||
if (!getSettings()->linkInfoTooltip)
|
||||
{
|
||||
successCallback("No link info loaded", Link(Link::Url, url));
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -782,9 +782,10 @@ void TwitchMessageBuilder::parseHighlights(bool isPastMsg)
|
||||
}
|
||||
|
||||
// update the media player url if necessary
|
||||
QUrl highlightSoundUrl = getSettings()->customHighlightSound
|
||||
? QUrl::fromLocalFile(getSettings()->pathHighlightSound.getValue())
|
||||
: QUrl("qrc:/sounds/ping2.wav");
|
||||
QUrl highlightSoundUrl =
|
||||
getSettings()->customHighlightSound
|
||||
? QUrl::fromLocalFile(getSettings()->pathHighlightSound.getValue())
|
||||
: QUrl("qrc:/sounds/ping2.wav");
|
||||
|
||||
if (currentPlayerUrl != highlightSoundUrl)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user