diff options
-rw-r--r-- | src/main.cpp | 2 | ||||
-rw-r--r-- | src/mainwindow.cpp | 7 | ||||
-rw-r--r-- | src/settingswidget.ui | 7 | ||||
-rw-r--r-- | src/utils.cpp | 7 |
4 files changed, 11 insertions, 12 deletions
diff --git a/src/main.cpp b/src/main.cpp index 57c2852..3d74935 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -39,7 +39,7 @@ int main(int argc, char *argv[]) { QApplication app(argc, argv); app.setQuitOnLastWindowClosed(false); - app.setWindowIcon(QIcon(":/icons/app/icon-256.png")); + app.setWindowIcon(QIcon(":/icons/app/icon-128.png")); QApplication::setApplicationName("WhatSie"); QApplication::setOrganizationName("org.keshavnrj.ubuntu"); QApplication::setApplicationVersion(VERSIONSTR); diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 4433068..cff03ac 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -128,7 +128,10 @@ void MainWindow::initRateWidget() { }); } -void MainWindow::runMinimized() { this->minimizeAction->trigger(); } +void MainWindow::runMinimized() { + this->minimizeAction->trigger(); + notify("Whatsie", "Whatsie started minimized in tray"); +} MainWindow::~MainWindow() { webEngine->deleteLater(); } @@ -196,9 +199,7 @@ void MainWindow::updateWindowTheme() { } QList<QWidget *> widgets = this->findChildren<QWidget *>(); - foreach (QWidget *w, widgets) { w->setPalette(qApp->palette()); } - setNotificationPresenter(webEngine->page()->profile()); if (lockWidget != nullptr) { diff --git a/src/settingswidget.ui b/src/settingswidget.ui index 94cdcd7..76a7649 100644 --- a/src/settingswidget.ui +++ b/src/settingswidget.ui @@ -99,7 +99,7 @@ background:transparent; <x>0</x> <y>0</y> <width>675</width> - <height>808</height> + <height>791</height> </rect> </property> <layout class="QVBoxLayout" name="verticalLayout_5"> @@ -364,15 +364,14 @@ background:transparent; <item row="3" column="1"> <widget class="QCheckBox" name="startMinimized"> <property name="text"> - <string>Minimize app in tray on start</string> + <string>Minimize App in tray on start</string> </property> </widget> </item> <item row="4" column="0"> <widget class="QCheckBox" name="minimizeOnTrayIconClick"> <property name="text"> - <string>Minimize/Maximize on right clicking tray Icon -(if supported by system tray)</string> + <string>Show/Hide on clicking tray Icon (if supported)</string> </property> </widget> </item> diff --git a/src/utils.cpp b/src/utils.cpp index eeab445..0c70ef9 100644 --- a/src/utils.cpp +++ b/src/utils.cpp @@ -204,10 +204,8 @@ QString utils::appDebugInfo() { QString(GIT_BRANCH) + "</li>" << "<li><b>" + QObject::tr("Commit Hash") + ":</b> " + QString(GIT_HASH) + "</li>" - << "<li><b>" + QObject::tr("Build Date") + ":</b> " + - QString::fromLatin1(__DATE__) + "</li>" - << "<li><b>" + QObject::tr("Build Time") + ":</b> " + - QString::fromLatin1(__TIME__) + "</li>" + << "<li><b>" + QObject::tr("Build Datetime") + ":</b> " + + QString::fromLatin1(BUILD_TIMESTAMP) + "</li>" << "<li><b>" + QObject::tr("Qt Runtime Version") + ":</b> " + QString(qVersion()) + "</li>" << "<li><b>" + QObject::tr("Qt Compiled Version") + ":</b> " + @@ -241,6 +239,7 @@ void utils::DisplayExceptionErrorDialog(const QString &error_info) { << "\nApp version: " + QString(VERSIONSTR) << "\nSource Branch: " + QString(GIT_BRANCH) << "\nCommit Hash: " + QString(GIT_HASH) + << "\nBuild Datetime: " + QString(BUILD_TIMESTAMP) << "\nQt Runtime Version: " + QString(qVersion()) << "\nQt Compiled Version: " + QString(QT_VERSION_STR) << "\nSystem: " + QSysInfo::prettyProductName() |