summaryrefslogtreecommitdiffstats
path: root/examples/help/contextsensitivehelp
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@digia.com>2014-01-17 20:14:07 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-01-20 13:10:57 +0100
commitcf01d7136fb79ee3f8e8522748b08519f0ea528f (patch)
treeed4021fd66f4da1b164ca27e522da28525b473f7 /examples/help/contextsensitivehelp
parent2f2dd0137982e5894b93ca1770c096c19e3dc46c (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/contextsensitivehelp')
-rw-r--r--examples/help/contextsensitivehelp/helpbrowser.cpp4
-rw-r--r--examples/help/contextsensitivehelp/main.cpp2
-rw-r--r--examples/help/contextsensitivehelp/wateringconfigdialog.h2
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;