mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-22 12:34:19 +00:00
Code clean up
This commit is contained in:
parent
1c0f1b91e7
commit
b267ac169d
@ -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:
|
||||
qApp->quit();
|
||||
}
|
||||
|
||||
void displayConsoleMessage(QString msg) {
|
||||
void displayConsoleMessage(const QString &msg) {
|
||||
std::cout << qPrintable(msg) << std::endl;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user