Clang format fixed

This commit is contained in:
boludoz 2023-10-09 03:46:03 -03:00
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()); LOG_INFO(Frontend, "Wrote an icon to {}", icon_path.string());
} }
const auto name = title; const auto name = title;
#elif defined(_WIN32) #elif defined(_WIN32)
// ICO is only for Windows // ICO is only for Windows

View file

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