-
Notifications
You must be signed in to change notification settings - Fork 491
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix simple warnings #1097
Fix simple warnings #1097
Commits on Jun 14, 2023
-
COMP: Fix deprecated use of QSet<T>::toList() in ctkWorkflowButtonBox…
…Widget This commit fixes warnings like the following: /path/to/CTK/Libs/Widgets/ctkWorkflowButtonBoxWidget.cpp:200:72: warning: ‘static QSet<T> QSet<T>::fromList(const QList<T>&) [with T = ctkWorkflowStep*]’ is deprecated: Use QSet<T>(list.begin(), list.end()) instead. [-Wdeprecated-declarations] 200 | QSet<ctkWorkflowStep*>::fromList(this->GoToButtonToStepMap.values()); | ^
Configuration menu - View commit details
-
Copy full SHA for 64bd18a - Browse repository at this point
Copy the full SHA 64bd18aView commit details -
COMP: Fix -Wdeprecated-declarations in ctkSoapConnectionRunnable
This commit fixes warnings like the following: /path/to/CTK/Plugins/org.commontk.dah.core/ctkSoapConnectionRunnable.cpp:146:27: warning: ‘QByteArray& QByteArray::append(const QString&)’ is deprecated: Use QString's toUtf8(), toLatin1() or toLocal8Bit() [-Wdeprecated-declarations] 146 | block.append(content); | ^
Configuration menu - View commit details
-
Copy full SHA for e4ed0d6 - Browse repository at this point
Copy the full SHA e4ed0d6View commit details -
COMP: Remove deprecated use of QSqlError::number() in ctkPluginStorag…
…eSQL This commit fixes the following warning: /path/to/CTK/Libs/PluginFramework/ctkPluginStorageSQL.cpp:737:46: warning: ‘int QSqlError::number() const’ is deprecated [-Wdeprecated-declarations] 737 | int result = query->lastError().number(); | ^
Configuration menu - View commit details
-
Copy full SHA for ae800b8 - Browse repository at this point
Copy the full SHA ae800b8View commit details -
COMP: Fix -Wdeprecated-declarations in ctkCommandLineModuleExplorerMain
This commit fixes the following warning: /path/to/CTK/Applications/ctkCommandLineModuleExplorer/ctkCommandLineModuleExplorerMain.cpp:146:47: warning: ‘QByteArray& QByteArray::append(const QString&)’ is deprecated: Use QString's toUtf8(), toLatin1() or toLocal8Bit() [-Wdeprecated-declarations] 146 | byteArray.append(args["string"].toString()); | ^
Configuration menu - View commit details
-
Copy full SHA for a24f509 - Browse repository at this point
Copy the full SHA a24f509View commit details -
COMP: Fix deprecated use of QSet<T>::toList() in ctkPluginStorageSQL
This commit fixes warnings like the following: /path/to/CTK/Libs/PluginFramework/ctkPluginStorageSQL.cpp:699:23: warning: ‘QList<T> QSet<T>::toList() const [with T = QString]’ is deprecated: Use values() instead. [-Wdeprecated-declarations] 699 | return paths.toList(); | ^
Configuration menu - View commit details
-
Copy full SHA for 0af7a87 - Browse repository at this point
Copy the full SHA 0af7a87View commit details -
COMP: Fix deprecated use of QFileDialog::DirectoryOnly in ctkDICOMBro…
…wser This commit fixes the following warning: /path/to/CTK/Libs/DICOM/Widgets/ctkDICOMBrowser.cpp:1633:45: warning: ‘QFileDialog::DirectoryOnly’ is deprecated: Use setOption(ShowDirsOnly, true) instead [-Wdeprecated-declarations] 1633 | directoryDialog->setFileMode(QFileDialog::DirectoryOnly); | ^~~~~~~~~~~~~
Configuration menu - View commit details
-
Copy full SHA for 8bc4483 - Browse repository at this point
Copy the full SHA 8bc4483View commit details -
COMP: Fix deprecated use of QList::swap() in ctkDICOMTableView
This commit fixes warnings like the following: /path/to/CTK/Libs/DICOM/Widgets/ctkDICOMTableView.cpp:358:49: warning: ‘void QList<T>::swap(int, int) [with T = int]’ is deprecated: Use QList<T>::swapItemsAt() [-Wdeprecated-declarations] 358 | columnIndicesByVisualIndex.swap(j, j+1); | ^
Configuration menu - View commit details
-
Copy full SHA for 8ebac34 - Browse repository at this point
Copy the full SHA 8ebac34View commit details -
COMP: Fix -Wdeprecated-declarations in ctkDICOMBrowserTester
This commit fixes the following warning: /path/to/CTK/Libs/DICOM/Widgets/Testing/Cpp/ctkDICOMBrowserTest.cpp:79:49: warning: ‘QDir& QDir::operator=(const QString&)’ is deprecated: Use QDir::setPath() instead [-Wdeprecated-declarations] 79 | this->DICOMDir = dataDir.filePath("Data/DICOM"); | ^
Configuration menu - View commit details
-
Copy full SHA for 22bc651 - Browse repository at this point
Copy the full SHA 22bc651View commit details -
COMP: Fix deprecated use of QFileDialog::DirectoryOnly in ctkFileDial…
…ogTest1 This commit fixes the following warning: /path/to/CTK/Libs/Widgets/Testing/Cpp/ctkFileDialogTest1.cpp:47:40: warning: ‘QFileDialog::DirectoryOnly’ is deprecated: Use setOption(ShowDirsOnly, true) instead [-Wdeprecated-declarations] 47 | fileDialog->setFileMode(QFileDialog::DirectoryOnly); | ^~~~~~~~~~~~~
Configuration menu - View commit details
-
Copy full SHA for ead9fb9 - Browse repository at this point
Copy the full SHA ead9fb9View commit details