Browse Source

Rename cmd options source files.

adaptive-webui-19844
sledgehammer999 8 years ago
parent
commit
9f98f9f7ac
No known key found for this signature in database
GPG Key ID: 6E4A2D025B7CC9A2
  1. 4
      src/app/CMakeLists.txt
  2. 6
      src/app/app.pri
  3. 2
      src/app/application.h
  4. 2
      src/app/cmdoptions.cpp
  5. 0
      src/app/cmdoptions.h
  6. 3
      src/app/main.cpp

4
src/app/CMakeLists.txt

@ -3,14 +3,14 @@ include_directories(${CMAKE_CURRENT_BINARY_DIR}) @@ -3,14 +3,14 @@ include_directories(${CMAKE_CURRENT_BINARY_DIR})
set(QBT_APP_HEADERS
application.h
cmdoptions.h
filelogger.h
options.h
)
set(QBT_APP_SOURCES
application.cpp
cmdoptions.cpp
filelogger.cpp
options.cpp
main.cpp
)

6
src/app/app.pri

@ -16,13 +16,13 @@ usesystemqtsingleapplication { @@ -16,13 +16,13 @@ usesystemqtsingleapplication {
HEADERS += \
$$PWD/application.h \
$$PWD/filelogger.h \
$$PWD/options.h
$$PWD/cmdoptions.h \
$$PWD/filelogger.h
SOURCES += \
$$PWD/application.cpp \
$$PWD/cmdoptions.cpp \
$$PWD/filelogger.cpp \
$$PWD/options.cpp \
$$PWD/main.cpp
unix: HEADERS += $$PWD/stacktrace.h

2
src/app/application.h

@ -51,7 +51,7 @@ typedef QtSingleCoreApplication BaseApplication; @@ -51,7 +51,7 @@ typedef QtSingleCoreApplication BaseApplication;
#endif
#include "base/utils/misc.h"
#include "options.h"
#include "cmdoptions.h"
#ifndef DISABLE_WEBUI
class WebUI;

2
src/app/options.cpp → src/app/cmdoptions.cpp

@ -30,7 +30,7 @@ @@ -30,7 +30,7 @@
* Contact : chris@qbittorrent.org
*/
#include "options.h"
#include "cmdoptions.h"
#include <iostream>

0
src/app/options.h → src/app/cmdoptions.h

3
src/app/main.cpp

@ -69,11 +69,12 @@ Q_IMPORT_PLUGIN(QICOPlugin) @@ -69,11 +69,12 @@ Q_IMPORT_PLUGIN(QICOPlugin)
#include <cstdlib>
#include <iostream>
#include "application.h"
#include "options.h"
#include "base/profile.h"
#include "base/utils/misc.h"
#include "base/preferences.h"
#include "cmdoptions.h"
#include "upgrade.h"

Loading…
Cancel
Save