mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-31 16:50:52 +01:00
Add compiler message @TODO
This commit is contained in:
@@ -641,6 +641,7 @@ void ElementsCollectionWidget::search()
|
||||
#if QT_VERSION < QT_VERSION_CHECK(5, 14, 0) // ### Qt 6: remove
|
||||
QStringList text_list = text.split("+", QString::SkipEmptyParts);
|
||||
#else
|
||||
#pragma message("@TODO remove code for QT 5.14 or later")
|
||||
QStringList text_list = text.split("+", Qt::SkipEmptyParts);
|
||||
#endif
|
||||
QModelIndexList match_index;
|
||||
|
||||
@@ -754,6 +754,7 @@ QDebug operator<< (QDebug debug, const ElementsLocation &location)
|
||||
QDebugStateSaver saver(debug);
|
||||
|
||||
#if QT_VERSION >= 0x050400
|
||||
#pragma message("@TODO remove code for QT 5.04 or later")
|
||||
debug.noquote();
|
||||
#else
|
||||
debug.nospace();
|
||||
|
||||
Reference in New Issue
Block a user