diff options
author | Thomas Hartmann <thomas.hartmann@qt.io> | 2019-07-04 12:16:09 +0200 |
---|---|---|
committer | Thomas Hartmann <thomas.hartmann@qt.io> | 2019-07-04 10:16:39 +0000 |
commit | 243c3a4c1bdb42c8489f13d2be567eaa8222fa45 (patch) | |
tree | 5620f17c323866d8b7c5d497776e2169aa286d78 /src/plugins/studiowelcome | |
parent | 376aae271132b39664d381f00bdcd45856acbd73 (diff) |
StudioWelcome: Add get() to ProjectModel
This is required for compatibility with ListModel.
Change-Id: I7bb738b1f5c54d9f49cf0fa30dc65940f7645bb6
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Diffstat (limited to 'src/plugins/studiowelcome')
-rw-r--r-- | src/plugins/studiowelcome/studiowelcomeplugin.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/studiowelcome/studiowelcomeplugin.cpp b/src/plugins/studiowelcome/studiowelcomeplugin.cpp index 508ab20b83..57edb46327 100644 --- a/src/plugins/studiowelcome/studiowelcomeplugin.cpp +++ b/src/plugins/studiowelcome/studiowelcomeplugin.cpp @@ -92,6 +92,11 @@ public: ProjectExplorer::ProjectExplorerPlugin::openProjectWelcomePage(projectFile); } + Q_INVOKABLE int get(int) + { + return -1; + } + Q_INVOKABLE void showHelp() { QDesktopServices::openUrl(QUrl("qthelp://org.qt-project.qtcreator/doc/index.html")); |