Clang format fixed

This commit is contained in:
boludoz 2023-10-09 03:46:03 -03:00
parent 23ae0cfdc4
commit b7964a20c1
2 changed files with 5 additions and 1 deletions

View file

@ -3117,7 +3117,7 @@ void GMainWindow::OnGameListCreateShortcut(u64 program_id, const QString& game_p
LOG_INFO(Frontend, "Wrote an icon to {}", icon_path.string());
}
const auto name = title;
const auto name = title;
#elif defined(_WIN32)
// ICO is only for Windows

View file

@ -8,9 +8,11 @@
#include <QString>
/// Returns a QFont object appropriate to use as a monospace font for debugging widgets, etc.
[[nodiscard]] QFont GetMonospaceFont();
/// Convert a size in bytes into a readable format (KiB, MiB, etc.)
[[nodiscard]] QString ReadableByteSize(qulonglong size);
/**
@ -20,6 +22,7 @@
*
* @return QPixmap circle pixmap
*/
[[nodiscard]] QPixmap CreateCirclePixmapFromColor(const QColor& color);
/**
@ -31,4 +34,5 @@
*
* @return bool If the operation succeeded
*/
[[nodiscard]] bool savePixmapsToICO(const QList<QPixmap>& pixmaps, const QString& path);