1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-09-15 06:52:34 +02:00

Remove comment and add default values

This commit is contained in:
Elias Steurer 2019-09-06 14:16:08 +02:00
parent 904819d875
commit 2b6602483a
2 changed files with 2 additions and 4 deletions

View File

@ -50,7 +50,6 @@ struct ProjectFile {
}
ProjectFile() {}
~ProjectFile() {}
QVariant m_description;
QVariant m_file;
@ -61,7 +60,7 @@ struct ProjectFile {
QUrl m_absoluteStoragePath;
QString m_type;
QJsonObject m_settings;
int m_workshopID;
int m_workshopID {0};
QVariantList m_tags; //TODO: Implement me!
};

View File

@ -61,10 +61,9 @@ int main(int argc, char* argv[])
QString monitorNumbers = argumentList.at(1);
QStringList activeScreensList = monitorNumbers.split(",");
qDebug() << activeScreensList;
activeScreensList.removeAll(",");
QVector<int> list;
qDebug() << activeScreensList;
if (monitorNumbers.length() == 1) {
bool canParseMonitorNumber = false;