diff options
author | Oswald Buddenhagen <oswald.buddenhagen@digia.com> | 2014-01-17 20:14:07 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-01-20 13:10:57 +0100 |
commit | cf01d7136fb79ee3f8e8522748b08519f0ea528f (patch) | |
tree | ed4021fd66f4da1b164ca27e522da28525b473f7 /examples/help | |
parent | 2f2dd0137982e5894b93ca1770c096c19e3dc46c (diff) |
whitespace fixes
remove trailing spaces & expand tabs
Change-Id: If9909c94b52d9dacb7c8735470525d18a1c97d6b
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
Diffstat (limited to 'examples/help')
-rw-r--r-- | examples/help/contextsensitivehelp/helpbrowser.cpp | 4 | ||||
-rw-r--r-- | examples/help/contextsensitivehelp/main.cpp | 2 | ||||
-rw-r--r-- | examples/help/contextsensitivehelp/wateringconfigdialog.h | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/examples/help/contextsensitivehelp/helpbrowser.cpp b/examples/help/contextsensitivehelp/helpbrowser.cpp index cbf9b21d6..a5e4292f0 100644 --- a/examples/help/contextsensitivehelp/helpbrowser.cpp +++ b/examples/help/contextsensitivehelp/helpbrowser.cpp @@ -71,9 +71,9 @@ QVariant HelpBrowser::loadResource(int type, const QUrl &name) QByteArray ba; if (type < 4 && m_helpEngine) { QUrl url(name); - if (name.isRelative()) + if (name.isRelative()) url = source().resolved(url); - ba = m_helpEngine->fileData(url); + ba = m_helpEngine->fileData(url); } return ba; } diff --git a/examples/help/contextsensitivehelp/main.cpp b/examples/help/contextsensitivehelp/main.cpp index d58d2884e..7fad8a427 100644 --- a/examples/help/contextsensitivehelp/main.cpp +++ b/examples/help/contextsensitivehelp/main.cpp @@ -44,7 +44,7 @@ int main(int argc, char *argv[]) { - QApplication a(argc, argv); + QApplication a(argc, argv); WateringConfigDialog dia; return dia.exec(); } diff --git a/examples/help/contextsensitivehelp/wateringconfigdialog.h b/examples/help/contextsensitivehelp/wateringconfigdialog.h index 638c795bf..7a9f4a2e1 100644 --- a/examples/help/contextsensitivehelp/wateringconfigdialog.h +++ b/examples/help/contextsensitivehelp/wateringconfigdialog.h @@ -52,7 +52,7 @@ public: private slots: void focusChanged(QWidget *old, QWidget *now); - + private: Ui::WateringConfigDialog m_ui; QMap<QWidget*, QString> m_widgetInfo; |