summaryrefslogtreecommitdiffstats
path: root/installerbuilder/installerbase/installerbase.cpp
diff options
context:
space:
mode:
authorkh1 <qt-info@nokia.com>2011-06-05 20:49:47 +0200
committerkh1 <qt-info@nokia.com>2011-06-05 20:49:47 +0200
commit0fa4deea98e79f4e917620133eb5cdeaa4f38888 (patch)
tree325920b97a8ec1b8f57f7f35bcb807b8538bb1bb /installerbuilder/installerbase/installerbase.cpp
parent3382254edb177767e312a0517dbcbe2153ddf838 (diff)
Remove unused function.
Diffstat (limited to 'installerbuilder/installerbase/installerbase.cpp')
-rw-r--r--installerbuilder/installerbase/installerbase.cpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/installerbuilder/installerbase/installerbase.cpp b/installerbuilder/installerbase/installerbase.cpp
index cc66918f7..72569990e 100644
--- a/installerbuilder/installerbase/installerbase.cpp
+++ b/installerbuilder/installerbase/installerbase.cpp
@@ -73,23 +73,6 @@ public:
}
};
-static void printUsage(bool isInstaller, const QString &productName,
- const QString &installerBinaryPath)
-{
- QString str;
- if (isInstaller) {
- str = QString::fromLatin1(" [--script <scriptfile>] [<name>=<value>...]\n"
- "\n Runs the %1 installer\n"
- "\n --script runs the the installer non-interactively, without UI, using the "
- "script <scriptfile> to perform the installation.\n").arg(productName);
- } else {
- str = QString::fromLatin1(" [<name>=<value>...]\n\n Runs the %1 uninstaller.\n")
- .arg(productName);
- }
- str = QLatin1String("\nUsage: ") + installerBinaryPath + str;
- std::cerr << qPrintable(str) << std::endl;
-}
-
static QList<Repository> repositories(const QStringList &arguments, const int index)
{
QList<Repository> repoList;