Fix command line

pull/3/head
reionwong 5 years ago
parent 4b1a0f28c1
commit 02157d495b

@ -17,7 +17,7 @@ sudo apt install extra-cmake-modules qtbase5-dev qtdeclarative5-dev qtquickcontr
```
mkdir build
cd build
cmake ..
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr ..
make
sudo make install
```

@ -1,5 +1,6 @@
[Desktop Entry]
Name=Cutefish Video Player
Name=Video Player
Name[zh_CN]=视频播放器
Exec=cutefish-videoplayer %u
Icon=cutefish-videoplayer
Type=Application

@ -67,6 +67,7 @@ Application::Application(int &argc, char **argv, const QString &applicationName)
std::setlocale(LC_NUMERIC, "C");
m_engine = new QQmlApplicationEngine(this);
setupCommandLineParser();
registerQmlTypes();
setupQmlContextProperties();

Loading…
Cancel
Save