ran clang-format on all files
This commit is contained in:
@@ -4,8 +4,8 @@
|
||||
#include <QtGlobal>
|
||||
|
||||
#include "Application.hpp"
|
||||
#include "debug/AssertInGuiThread.hpp"
|
||||
#include "WindowManager.hpp"
|
||||
#include "debug/AssertInGuiThread.hpp"
|
||||
|
||||
#ifdef Q_OS_WIN32
|
||||
#define DEFAULT_FONT_FAMILY "Segoe UI"
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
//#include <future>
|
||||
|
||||
//using namespace chatterino::messages;
|
||||
// using namespace chatterino::messages;
|
||||
|
||||
// void IrcManager::refreshIgnoredUsers(const QString &username, const QString &oauthClient,
|
||||
// const QString &oauthToken)
|
||||
|
||||
@@ -75,9 +75,9 @@ void UpdateManager::installUpdates()
|
||||
return false;
|
||||
}
|
||||
|
||||
QProcess::startDetached(combinePath(QCoreApplication::applicationDirPath(),
|
||||
"updater.1/ChatterinoUpdater.exe"),
|
||||
{filename, "restart"});
|
||||
QProcess::startDetached(
|
||||
combinePath(QCoreApplication::applicationDirPath(), "updater.1/ChatterinoUpdater.exe"),
|
||||
{filename, "restart"});
|
||||
|
||||
QApplication::exit(0);
|
||||
return false;
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
#include "WindowManager.hpp"
|
||||
|
||||
#include "Application.hpp"
|
||||
#include "debug/AssertInGuiThread.hpp"
|
||||
#include "debug/Log.hpp"
|
||||
#include "providers/twitch/TwitchServer.hpp"
|
||||
#include "singletons/FontManager.hpp"
|
||||
#include "singletons/PathManager.hpp"
|
||||
#include "singletons/ThemeManager.hpp"
|
||||
#include "debug/AssertInGuiThread.hpp"
|
||||
#include "util/Clamp.hpp"
|
||||
#include "widgets/AccountSwitchPopupWidget.hpp"
|
||||
#include "widgets/dialogs/SettingsDialog.hpp"
|
||||
@@ -169,8 +169,7 @@ void WindowManager::initialize()
|
||||
|
||||
// get type
|
||||
QString type_val = window_obj.value("type").toString();
|
||||
Window::WindowType type =
|
||||
type_val == "main" ? Window::Main : Window::Popup;
|
||||
Window::WindowType type = type_val == "main" ? Window::Main : Window::Popup;
|
||||
|
||||
if (type == Window::Main && mainWindow != nullptr) {
|
||||
type = Window::Popup;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "widgets/splits/SplitContainer.hpp"
|
||||
#include "widgets/Window.hpp"
|
||||
#include "widgets/splits/SplitContainer.hpp"
|
||||
|
||||
namespace chatterino {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user