Changed program name and various file locations.

merge-requests/1/merge
Elliott Liggett 2020-01-04 17:12:35 -08:00
rodzic 7510775350
commit 828de59080
2 zmienionych plików z 7 dodań i 7 usunięć

Wyświetl plik

@ -10,9 +10,9 @@ int main(int argc, char *argv[])
//a.setStyle( "Fusion" ); //a.setStyle( "Fusion" );
a.setOrganizationName("liggett"); a.setOrganizationName("eliggett");
a.setOrganizationDomain("nodomain"); a.setOrganizationDomain("nodomain");
a.setApplicationName("RigView"); a.setApplicationName("wfview");
a.setWheelScrollLines(1); // one line per wheel click a.setWheelScrollLines(1); // one line per wheel click
wfmain w; wfmain w;

Wyświetl plik

@ -4,20 +4,20 @@
#include "commhandler.h" #include "commhandler.h"
#include "rigidentities.h" #include "rigidentities.h"
// This code is copyright 2018-2019 Elliott H. Liggett // This code is copyright 2018-2020 Elliott H. Liggett
// All rights reserved // All rights reserved
wfmain::wfmain(QWidget *parent) : wfmain::wfmain(QWidget *parent) :
QMainWindow(parent), QMainWindow(parent),
ui(new Ui::wfmain) ui(new Ui::wfmain)
{ {
QGuiApplication::setApplicationDisplayName("RigView"); QGuiApplication::setApplicationDisplayName("wfview");
QGuiApplication::setApplicationName(QString("RigView")); QGuiApplication::setApplicationName(QString("wfview"));
ui->setupUi(this); ui->setupUi(this);
theParent = parent; theParent = parent;
setWindowTitle(QString("RigView")); setWindowTitle(QString("wfview"));
ui->bandStkLastUsedBtn->setVisible(false); ui->bandStkLastUsedBtn->setVisible(false);
ui->bandStkVoiceBtn->setVisible(false); ui->bandStkVoiceBtn->setVisible(false);
@ -736,7 +736,7 @@ void wfmain::setAppTheme(bool isDark)
if(isDark) if(isDark)
{ {
// QFile f(":qdarkstyle/style.qss"); // built-in resource // QFile f(":qdarkstyle/style.qss"); // built-in resource
QFile f("/usr/share/rigview/stylesheets/" + prefs.stylesheetPath); QFile f("/usr/share/wfview/stylesheets/" + prefs.stylesheetPath);
if (!f.exists()) if (!f.exists())
{ {
printf("Unable to set stylesheet, file not found\n"); printf("Unable to set stylesheet, file not found\n");