aboutsummaryrefslogtreecommitdiff
path: root/src/browser.cpp
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2020-11-06 20:44:12 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2020-11-06 20:44:12 +0200
commit7965f73b64018bbac155c4e2c3208350dae69954 (patch)
treea45bd6937ec853ad1846116e605ae7497be4c475 /src/browser.cpp
parentAdd tabler-icons (diff)
downloadsmolbote-7965f73b64018bbac155c4e2c3208350dae69954.tar.xz
Remove data/resources.qrc
Diffstat (limited to 'src/browser.cpp')
-rw-r--r--src/browser.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/browser.cpp b/src/browser.cpp
index a04f87d..aec3ad1 100644
--- a/src/browser.cpp
+++ b/src/browser.cpp
@@ -38,7 +38,7 @@ Browser::Browser(int &argc, char *argv[], bool allowSecondary)
Configuration conf;
setApplicationName(conf.value<QString>("poi.name").value());
- setWindowIcon(QIcon(conf.value<QString>("poi.icon").value()));
+ setWindowIcon(Util::icon<Util::AppWindowIcon>());
setApplicationVersion(QVersionNumber::fromString(QLatin1String(poi_Version)).toString());
if(const auto _translation = conf.value<QString>("browser.translation")) {
@@ -128,8 +128,8 @@ Browser::~Browser()
void Browser::about()
{
- auto *dlg = new AboutDialog;
- dlg->exec();
+ auto *dlg = new AboutDialog(activeWindow());
+ dlg->show();
}
void Browser::aboutPlugins()