Browse Source

Code clean up

adaptive-webui-19844
Christophe Dumez 14 years ago
parent
commit
b267ac169d
  1. 4
      src/headlessloader.h

4
src/headlessloader.h

@ -40,7 +40,7 @@ class HeadlessLoader: public QObject { @@ -40,7 +40,7 @@ class HeadlessLoader: public QObject {
Q_OBJECT
public:
HeadlessLoader(QStringList torrentCmdLine) {
HeadlessLoader(const QStringList &torrentCmdLine) {
Preferences pref;
// Enable Web UI
pref.setWebUiEnabled(true);
@ -71,7 +71,7 @@ public slots: @@ -71,7 +71,7 @@ public slots:
qApp->quit();
}
void displayConsoleMessage(QString msg) {
void displayConsoleMessage(const QString &msg) {
std::cout << qPrintable(msg) << std::endl;
}

Loading…
Cancel
Save