categorized emtotepopup
This commit is contained in:
@@ -15,8 +15,8 @@ void Emotes::initialize(Settings &settings, Paths &paths)
|
||||
[] { getApp()->accounts->twitch.getCurrent()->loadEmotes(); });
|
||||
|
||||
this->emojis.load();
|
||||
this->bttv.loadGlobalEmotes();
|
||||
this->ffz.loadGlobalEmotes();
|
||||
this->bttv.loadGlobal();
|
||||
this->ffz.loadGlobal();
|
||||
|
||||
this->gifTimer.initialize();
|
||||
}
|
||||
|
||||
@@ -50,7 +50,7 @@ void Settings::saveSnapshot()
|
||||
|
||||
this->snapshot_.reset(d);
|
||||
|
||||
Log("hehe: {}", pajlada::Settings::SettingManager::stringify(*d));
|
||||
log("hehe: {}", pajlada::Settings::SettingManager::stringify(*d));
|
||||
}
|
||||
|
||||
void Settings::restoreSnapshot()
|
||||
@@ -64,14 +64,14 @@ void Settings::restoreSnapshot()
|
||||
for (const auto &weakSetting : _settings) {
|
||||
auto setting = weakSetting.lock();
|
||||
if (!setting) {
|
||||
Log("Error stage 1 of loading");
|
||||
log("Error stage 1 of loading");
|
||||
continue;
|
||||
}
|
||||
|
||||
const char *path = setting->getPath().c_str();
|
||||
|
||||
if (!snapshotObject.HasMember(path)) {
|
||||
Log("Error stage 2 of loading");
|
||||
log("Error stage 2 of loading");
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
@@ -211,7 +211,7 @@ Window *WindowManager::windowAt(int index)
|
||||
if (index < 0 || (size_t)index >= this->windows_.size()) {
|
||||
return nullptr;
|
||||
}
|
||||
Log("getting window at bad index {}", index);
|
||||
log("getting window at bad index {}", index);
|
||||
|
||||
return this->windows_.at(index);
|
||||
}
|
||||
|
||||
@@ -65,13 +65,13 @@ void LoggingChannel::openLogFile()
|
||||
this->baseDirectory + QDir::separator() + this->subDirectory;
|
||||
|
||||
if (!QDir().mkpath(directory)) {
|
||||
Log("Unable to create logging path");
|
||||
log("Unable to create logging path");
|
||||
return;
|
||||
}
|
||||
|
||||
// Open file handle to log file of current date
|
||||
QString fileName = directory + QDir::separator() + baseFileName;
|
||||
Log("Logging to {}", fileName);
|
||||
log("Logging to {}", fileName);
|
||||
this->fileHandle.setFileName(fileName);
|
||||
|
||||
this->fileHandle.open(QIODevice::Append);
|
||||
|
||||
Reference in New Issue
Block a user