Rename "examples" to tutorials

This commit is contained in:
Alex Spataru 2016-05-22 21:39:59 -05:00
parent 47c6909259
commit 3b3805bfcc
9 changed files with 6 additions and 3 deletions

View File

@ -4,7 +4,7 @@ QSimpleUpdater is an implementation of an auto-updating system to be used with Q
## Integrating QSimpleUpdater with your projects
1. Copy the QSimpleUpdater folder in your "3rd-party" folder.
2. Include the QSimpleUpdater project include (*pri*) file using the include() function.
3. That's all! Check the example project as a reference for your project.
3. That's all! Check the [tutorial project](/tutorial) as a reference for your project.
## License
QSimpleUpdater is free and open-source software, it is released under the [DBAD](COPYING.md) license.

View File

@ -15,7 +15,9 @@
// Define the URL of the Update Definitions file
//==============================================================================
static const QString DEFS_URL = "http://pastebin.com/raw/FGs1sTs0";
static const QString DEFS_URL = "https://raw.githubusercontent.com/"
"alex-spataru/QSimpleUpdater/master/tutorial/"
"definitions/updates.json";
//==============================================================================
// Window::Window
@ -91,5 +93,6 @@ void Window::checkForUpdates() {
//==============================================================================
void Window::updateChangelog (QString url) {
m_ui->changelogText->setText (m_updater->getChangelog (url));
if (url == DEFS_URL)
m_ui->changelogText->setText (m_updater->getChangelog (url));
}