mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-09-15 06:52:34 +02: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_time.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>assets/icons/icon_open_in_new.svg</file>
|
||||
</qresource>
|
||||
|
@ -1,7 +1,7 @@
|
||||
TEMPLATE = app
|
||||
QT += qml quick widgets quickcontrols2 core
|
||||
CONFIG += c++17
|
||||
CONFIG += qtquickcompiler
|
||||
#CONFIG += qtquickcompiler
|
||||
#DEFINES += QT_NO_DEBUG_OUTPUT QT_NO_WARNING_OUTPUT
|
||||
msvc: LIBS += -luser32
|
||||
TARGETPATH = ScreenPlay
|
||||
|
@ -39,7 +39,7 @@
|
||||
#include "ThirdParty/steam/steam_api.h"
|
||||
#include "src/steamworkshop.h"
|
||||
#include "src/steamworkshoplistmodel.h"
|
||||
#include "globalconstans.h"
|
||||
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
|
@ -138,6 +138,7 @@ bool MonitorListModel::getMonitorListItemAt(int position, Monitor* monitor)
|
||||
// *monitor = m_monitorList.at(position);
|
||||
// return true;
|
||||
// }
|
||||
return true;
|
||||
}
|
||||
|
||||
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
|
||||
{
|
||||
// FIXME: Implement me!
|
||||
return QVariant();
|
||||
}
|
||||
|
||||
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);
|
||||
// FIXME: Implement me!
|
||||
|
||||
endInsertRows();
|
||||
return true;
|
||||
}
|
||||
|
||||
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);
|
||||
// FIXME: Implement me!
|
||||
endRemoveRows();
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user