mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-11-07 03:22:33 +01:00
Fix compilation with msvc 2017
This commit is contained in:
parent
346e83310e
commit
d6cbd47b6d
@ -104,8 +104,6 @@
|
|||||||
<file>assets/icons/icon_library_music.svg</file>
|
<file>assets/icons/icon_library_music.svg</file>
|
||||||
<file>assets/icons/icon_time.svg</file>
|
<file>assets/icons/icon_time.svg</file>
|
||||||
<file>assets/icons/icon_emptyWidget.svg</file>
|
<file>assets/icons/icon_emptyWidget.svg</file>
|
||||||
<file>translations/ScreenPlay_de.qm</file>
|
|
||||||
<file>translations/ScreenPlay_en.qm</file>
|
|
||||||
<file>qml/Create/CreateNew.qml</file>
|
<file>qml/Create/CreateNew.qml</file>
|
||||||
<file>assets/icons/icon_open_in_new.svg</file>
|
<file>assets/icons/icon_open_in_new.svg</file>
|
||||||
</qresource>
|
</qresource>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
TEMPLATE = app
|
TEMPLATE = app
|
||||||
QT += qml quick widgets quickcontrols2 core
|
QT += qml quick widgets quickcontrols2 core
|
||||||
CONFIG += c++17
|
CONFIG += c++17
|
||||||
CONFIG += qtquickcompiler
|
#CONFIG += qtquickcompiler
|
||||||
#DEFINES += QT_NO_DEBUG_OUTPUT QT_NO_WARNING_OUTPUT
|
#DEFINES += QT_NO_DEBUG_OUTPUT QT_NO_WARNING_OUTPUT
|
||||||
msvc: LIBS += -luser32
|
msvc: LIBS += -luser32
|
||||||
TARGETPATH = ScreenPlay
|
TARGETPATH = ScreenPlay
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
#include "ThirdParty/steam/steam_api.h"
|
#include "ThirdParty/steam/steam_api.h"
|
||||||
#include "src/steamworkshop.h"
|
#include "src/steamworkshop.h"
|
||||||
#include "src/steamworkshoplistmodel.h"
|
#include "src/steamworkshoplistmodel.h"
|
||||||
#include "globalconstans.h"
|
|
||||||
|
|
||||||
int main(int argc, char* argv[])
|
int main(int argc, char* argv[])
|
||||||
{
|
{
|
||||||
|
@ -138,6 +138,7 @@ bool MonitorListModel::getMonitorListItemAt(int position, Monitor* monitor)
|
|||||||
// *monitor = m_monitorList.at(position);
|
// *monitor = m_monitorList.at(position);
|
||||||
// return true;
|
// return true;
|
||||||
// }
|
// }
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
void MonitorListModel::screenAdded(QScreen* screen)
|
void MonitorListModel::screenAdded(QScreen* screen)
|
||||||
|
@ -19,6 +19,7 @@ QHash<int, QByteArray> SteamWorkshopListModel::roleNames() const
|
|||||||
QVariant SteamWorkshopListModel::headerData(int section, Qt::Orientation orientation, int role) const
|
QVariant SteamWorkshopListModel::headerData(int section, Qt::Orientation orientation, int role) const
|
||||||
{
|
{
|
||||||
// FIXME: Implement me!
|
// FIXME: Implement me!
|
||||||
|
return QVariant();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool SteamWorkshopListModel::setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role)
|
bool SteamWorkshopListModel::setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role)
|
||||||
@ -130,7 +131,9 @@ bool SteamWorkshopListModel::insertRows(int row, int count, const QModelIndex& p
|
|||||||
{
|
{
|
||||||
beginInsertRows(parent, row, row + count - 1);
|
beginInsertRows(parent, row, row + count - 1);
|
||||||
// FIXME: Implement me!
|
// FIXME: Implement me!
|
||||||
|
|
||||||
endInsertRows();
|
endInsertRows();
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool SteamWorkshopListModel::removeRows(int row, int count, const QModelIndex& parent)
|
bool SteamWorkshopListModel::removeRows(int row, int count, const QModelIndex& parent)
|
||||||
@ -138,4 +141,5 @@ bool SteamWorkshopListModel::removeRows(int row, int count, const QModelIndex& p
|
|||||||
beginRemoveRows(parent, row, row + count - 1);
|
beginRemoveRows(parent, row, row + count - 1);
|
||||||
// FIXME: Implement me!
|
// FIXME: Implement me!
|
||||||
endRemoveRows();
|
endRemoveRows();
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user