Skip to content

Commit

Permalink
fix qt>=6.4
Browse files Browse the repository at this point in the history
  • Loading branch information
zergud committed Nov 28, 2023
1 parent 1ca2f06 commit 8c3cd05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qucs/misc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ QString misc::num2str(double Num)

QColor misc::ColorFromString(const QString& color)
{
#if QT_VERSION >= 0x060000
#if QT_VERSION >= QT_VERSION_CHECK(6, 4, 0)
return QColor::fromString(color);
#else
QColor c;
Expand Down

0 comments on commit 8c3cd05

Please sign in to comment.