mirror of
https://github.com/YACReader/yacreader
synced 2025-07-18 21:14:33 -04:00
Don't use Q_OS_MAC for ui specifics, Y_MAC_UI is the replacement
This commit is contained in:
@ -71,7 +71,7 @@ QString YACReader::labelColorToRGBString(LabelColors color)
|
||||
case YPink:
|
||||
return "#FF9FDD";
|
||||
|
||||
#ifdef Q_OS_MAC
|
||||
#ifdef Y_MAC_UI
|
||||
case YWhite:
|
||||
return "#E3E3E3";
|
||||
#else
|
||||
|
@ -19,6 +19,10 @@
|
||||
|
||||
#define MAX_LIBRARIES_WARNING_NUM 10
|
||||
|
||||
#ifdef Q_OS_MAC
|
||||
#define Y_MAC_UI
|
||||
#endif
|
||||
|
||||
namespace YACReader {
|
||||
|
||||
enum YACReaderIPCMessages {
|
||||
|
@ -57,7 +57,7 @@ QList<qulonglong> YACReader::mimeDataToComicsIds(const QMimeData *data)
|
||||
QString YACReader::addExtensionToIconPath(const QString &path)
|
||||
{
|
||||
#ifdef YACREADER_LIBRARY
|
||||
#ifdef Q_OS_MAC
|
||||
#ifdef Q_OS_MAC // TODO_Y_MAC_UI
|
||||
return path + ".png";
|
||||
#else
|
||||
return path + ".svg";
|
||||
|
Reference in New Issue
Block a user