diff --git a/cockatrice/cockatrice.qrc b/cockatrice/cockatrice.qrc index da484e89..7f2de992 100644 --- a/cockatrice/cockatrice.qrc +++ b/cockatrice/cockatrice.qrc @@ -27,6 +27,7 @@ resources/icon_search.svg resources/icon_clearsearch.svg resources/icon_update.png + resources/icon_view.svg resources/hr.jpg resources/cockatrice.svg resources/add_to_sideboard.svg diff --git a/cockatrice/resources/icon_view.svg b/cockatrice/resources/icon_view.svg new file mode 100644 index 00000000..e5676d82 --- /dev/null +++ b/cockatrice/resources/icon_view.svg @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + \ No newline at end of file diff --git a/cockatrice/src/tab_replays.cpp b/cockatrice/src/tab_replays.cpp index c7c44f5a..27fbce94 100644 --- a/cockatrice/src/tab_replays.cpp +++ b/cockatrice/src/tab_replays.cpp @@ -74,13 +74,13 @@ TabReplays::TabReplays(TabSupervisor *_tabSupervisor, AbstractClient *_client) hbox->addWidget(rightGroupBox); aOpenLocalReplay = new QAction(this); - aOpenLocalReplay->setIcon(QIcon(":/resources/pencil.svg")); + aOpenLocalReplay->setIcon(QIcon(":/resources/icon_view.svg")); connect(aOpenLocalReplay, SIGNAL(triggered()), this, SLOT(actOpenLocalReplay())); aDeleteLocalReplay = new QAction(this); aDeleteLocalReplay->setIcon(QIcon(":/resources/remove_row.svg")); connect(aDeleteLocalReplay, SIGNAL(triggered()), this, SLOT(actDeleteLocalReplay())); aOpenRemoteReplay = new QAction(this); - aOpenRemoteReplay->setIcon(QIcon(":/resources/pencil.svg")); + aOpenRemoteReplay->setIcon(QIcon(":/resources/icon_view.svg")); connect(aOpenRemoteReplay, SIGNAL(triggered()), this, SLOT(actOpenRemoteReplay())); aDownload = new QAction(this); aDownload->setIcon(QIcon(":/resources/arrow_left_green.svg")); diff --git a/servatrice/servatrice.sql b/servatrice/servatrice.sql index 757f6bdc..7646158d 100644 --- a/servatrice/servatrice.sql +++ b/servatrice/servatrice.sql @@ -169,6 +169,7 @@ CREATE TABLE `cockatrice_bans` ( CREATE TABLE `cockatrice_sessions` ( `id` int(9) NOT NULL AUTO_INCREMENT, `user_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, + `id_server` tinyint(3) NOT NULL, `ip_address` char(15) COLLATE utf8_unicode_ci NOT NULL, `start_time` datetime NOT NULL, `end_time` datetime DEFAULT NULL,