mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-25 08:03:54 -07:00
ping time display is working again
This commit is contained in:
parent
4fac0e5b5a
commit
6c93b1e9b7
5 changed files with 26 additions and 47 deletions
|
|
@ -25,19 +25,6 @@
|
|||
|
||||
class TabSupervisor;
|
||||
|
||||
class PingWidget : public QWidget {
|
||||
Q_OBJECT
|
||||
private:
|
||||
QColor color;
|
||||
protected:
|
||||
void paintEvent(QPaintEvent *event);
|
||||
public:
|
||||
PingWidget(QWidget *parent = 0);
|
||||
QSize sizeHint() const;
|
||||
public slots:
|
||||
void setPercentage(int value, int max);
|
||||
};
|
||||
|
||||
class MainWindow : public QMainWindow {
|
||||
Q_OBJECT
|
||||
private slots:
|
||||
|
|
@ -63,8 +50,6 @@ private:
|
|||
QAction *aConnect, *aDisconnect, *aDeckEditor, *aFullScreen, *aSettings, *aExit;
|
||||
TabSupervisor *tabSupervisor;
|
||||
|
||||
PingWidget *pingWidget;
|
||||
|
||||
Client *client;
|
||||
public:
|
||||
MainWindow(QWidget *parent = 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue