mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
photivo, update patchset, trigger build (#13392)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
From 5d44caa75e5b0dbb9d36c9ffb06fa56217ead34b Mon Sep 17 00:00:00 2001
|
||||
From cb0ea89b88a55b0d034949efa0e94a81bccbc3ab Mon Sep 17 00:00:00 2001
|
||||
From: Gerasim Troeglazov <3dEyes@gmail.com>
|
||||
Date: Sat, 21 Nov 2020 23:14:43 +1000
|
||||
Subject: Disable thumb worker
|
||||
@@ -42,39 +42,7 @@ index 8f4557b..f395ae2 100644
|
||||
2.51.0
|
||||
|
||||
|
||||
From 07e0f2b8d8e482db9c2b8a00a31cf6776519f121 Mon Sep 17 00:00:00 2001
|
||||
From: Gerasim Troeglazov <3dEyes@gmail.com>
|
||||
Date: Sat, 21 Nov 2020 23:15:28 +1000
|
||||
Subject: Set username
|
||||
|
||||
|
||||
diff --git a/Sources/ptMain.cpp b/Sources/ptMain.cpp
|
||||
index 2be0eb7..e85e2cb 100644
|
||||
--- a/Sources/ptMain.cpp
|
||||
+++ b/Sources/ptMain.cpp
|
||||
@@ -526,6 +526,9 @@ int photivoMain(int Argc, char *Argv[]) {
|
||||
InitializeMagick(*Argv);
|
||||
|
||||
//QApplication TheApplication(Argc,Argv);
|
||||
+#ifdef Q_OS_HAIKU
|
||||
+ Qstring user = "Photivo_user";
|
||||
+#else
|
||||
QStringList environment = QProcess::systemEnvironment();
|
||||
QString user = environment.filter(
|
||||
QRegularExpression("^USERNAME=|^USER=", QRegularExpression::CaseInsensitiveOption)).first();
|
||||
@@ -534,6 +537,7 @@ int photivoMain(int Argc, char *Argv[]) {
|
||||
user="_"+user.right(user.length()-l-1);
|
||||
}
|
||||
user="photivo"+user;
|
||||
+#endif
|
||||
|
||||
#ifdef Q_OS_MAC
|
||||
TheApplication = new MyQApplication(user, Argc,Argv);
|
||||
--
|
||||
2.51.0
|
||||
|
||||
|
||||
From 81a0abecbdf6130039b5ca502929bec557976b93 Mon Sep 17 00:00:00 2001
|
||||
From 4b6eba994792602cde209306e65d54a0ac995f7b Mon Sep 17 00:00:00 2001
|
||||
From: Gerasim Troeglazov <3dEyes@gmail.com>
|
||||
Date: Sat, 21 Nov 2020 23:15:07 +1000
|
||||
Subject: Disable preview panel by default
|
||||
|
||||
Reference in New Issue
Block a user