Most icons set correctly. Icons only seen in Windows (perhaps Mac).

I have not figured out how to set icons of daughter-windows, only dialogs.
This commit is contained in:
Kjell Kernen
2014-02-20 15:34:13 +01:00
parent 9fa0919a36
commit 2ac79a7791
23 changed files with 40 additions and 56 deletions
+2
View File
@@ -1,6 +1,7 @@
#include "logsdialog.h"
#include "ui_logsdialog.h"
#include "qcustomplot.h"
#include "helpers.h"
#if defined WIN32 || !defined __GNUC__
#include <windows.h>
#else
@@ -14,6 +15,7 @@ logsDialog::logsDialog(QWidget *parent) :
csvlog.clear();
srand(QDateTime::currentDateTime().toTime_t());
ui->setupUi(this);
this->setWindowIcon(CompanionIcon("logs.png"));
palette.clear();
plotLock=false;
for (int i=0; i< 60; i++)