GUI: fixed a warning with compiling
This commit is contained in:
parent
b90c2c56d0
commit
0c80b46056
|
|
@ -12,7 +12,6 @@
|
|||
#include "ShortcutsDialog.h"
|
||||
#include "AttachDialog.h"
|
||||
#include "LineEditDialog.h"
|
||||
#include "TimeWastedCounter.h"
|
||||
|
||||
MainWindow::MainWindow(QWidget* parent) : QMainWindow(parent), ui(new Ui::MainWindow)
|
||||
{
|
||||
|
|
@ -27,7 +26,7 @@ MainWindow::MainWindow(QWidget* parent) : QMainWindow(parent), ui(new Ui::MainWi
|
|||
//time wasted counter
|
||||
QAction* timeWastedLabel = new QAction(this);
|
||||
ui->menuBar->addAction(timeWastedLabel);
|
||||
TimeWastedCounter* timeWastedCounter = new TimeWastedCounter(this, timeWastedLabel);
|
||||
mTimeWastedCounter = new TimeWastedCounter(this, timeWastedLabel);
|
||||
|
||||
//setup bridge signals
|
||||
connect(Bridge::getBridge(), SIGNAL(updateWindowTitle(QString)), this, SLOT(updateWindowTitleSlot(QString)));
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@
|
|||
#include "SourceViewerManager.h"
|
||||
#include "SnowmanView.h"
|
||||
#include "MainWindowCloseThread.h"
|
||||
#include "TimeWastedCounter.h"
|
||||
|
||||
namespace Ui
|
||||
{
|
||||
|
|
@ -132,6 +133,7 @@ private:
|
|||
StatusLabel* mLastLogLabel;
|
||||
|
||||
UpdateChecker* mUpdateChecker;
|
||||
TimeWastedCounter* mTimeWastedCounter;
|
||||
|
||||
const char* mWindowMainTitle;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue