mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-12-17 09:34:10 -05:00
Replaced Q_WS_ --> Q_OS_
Q_WS macros are not available in Qt5 Restores some functions in Options->General dialog that were not available under Qt5
This commit is contained in:
parent
0b5b20d5ea
commit
acc3e4bb62
16 changed files with 39 additions and 47 deletions
|
|
@ -40,7 +40,7 @@ void Emoticons::load()
|
|||
QString sm_codes;
|
||||
bool internalEmoticons = true;
|
||||
|
||||
#if defined(Q_OS_WIN32)
|
||||
#if defined(Q_OS_WIN)
|
||||
// first try external emoticons
|
||||
QFile sm_file(QApplication::applicationDirPath() + "/emoticons/emotes.acs");
|
||||
if(sm_file.open(QIODevice::ReadOnly))
|
||||
|
|
|
|||
|
|
@ -518,7 +518,7 @@ void RSGraphWidget::paintTotals()
|
|||
int x = SCALE_WIDTH*fact + FS, y = 0;
|
||||
int rowHeight = FS;
|
||||
|
||||
#if !defined(Q_WS_MAC)
|
||||
#if !defined(Q_OS_MAC)
|
||||
/* On Mac, we don't need vertical spacing between the text rows. */
|
||||
rowHeight += 5;
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue