Skip to content

Commit 15780dd

Browse files
committed
Remvoe redundant setAppicatonName
1 parent e5a4c91 commit 15780dd

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/plasmathemegenerator/main.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ class WatcherApp : public QGuiApplication {
7979
Q_OBJECT
8080
public:
8181
WatcherApp(int &argc, char **argv) : QGuiApplication(argc, argv) {
82-
setApplicationName(QLatin1String("fcitx5-plasma-theme-watcher"));
82+
setApplicationName(QLatin1String("fcitx5-plasma-theme-generator"));
8383
setApplicationVersion(QLatin1String(PROJECT_VERSION));
8484
}
8585

@@ -413,8 +413,6 @@ class WatcherApp : public QGuiApplication {
413413

414414
int main(int argc, char *argv[]) {
415415
WatcherApp app(argc, argv);
416-
app.setApplicationName(QLatin1String("fcitx5-plasma-theme-generator"));
417-
app.setApplicationVersion(QLatin1String(PROJECT_VERSION));
418416
if (!app.init()) {
419417
return 1;
420418
}

0 commit comments

Comments
 (0)