summaryrefslogtreecommitdiff
path: root/raveos-calamares/0004-raveos-telepites-haladas.patch
diff options
context:
space:
mode:
authorNippy <nippy@Nippy-Mac-mini.local>2026-11-01 18:13:54 +0100
committerNippy <nippy@Nippy-Mac-mini.local>2026-11-01 18:13:54 +0100
commita64ef966534f8dba6af889ba4bfce15691bfc85b (patch)
treeb30f284d05b80fa115569ab220deae13797fad6f /raveos-calamares/0004-raveos-telepites-haladas.patch
parent919f977b40016f588b0c8532c8a57f6035056b95 (diff)
downloadRaveOS-PKGBUILD-a64ef966534f8dba6af889ba4bfce15691bfc85b.tar.gz
RaveOS-PKGBUILD-a64ef966534f8dba6af889ba4bfce15691bfc85b.zip
új telepítő
Diffstat (limited to 'raveos-calamares/0004-raveos-telepites-haladas.patch')
-rw-r--r--raveos-calamares/0004-raveos-telepites-haladas.patch54
1 files changed, 54 insertions, 0 deletions
diff --git a/raveos-calamares/0004-raveos-telepites-haladas.patch b/raveos-calamares/0004-raveos-telepites-haladas.patch
new file mode 100644
index 0000000..c5bd208
--- /dev/null
+++ b/raveos-calamares/0004-raveos-telepites-haladas.patch
@@ -0,0 +1,54 @@
+--- a/src/libcalamaresui/viewpages/ExecutionViewStep.cpp
++++ b/src/libcalamaresui/viewpages/ExecutionViewStep.cpp
+@@ -15,6 +15,7 @@
+
+ #include "Branding.h"
+ #include "CalamaresConfig.h"
++#include "GlobalStorage.h"
+ #include "Job.h"
+ #include "JobQueue.h"
+ #include "Settings.h"
+@@ -108,7 +109,28 @@
+ barLayout->addWidget( m_progressBar );
+ barLayout->addWidget( toolBar );
+
++ m_progressBar->hide();
++ m_label->hide();
++ toolBar->hide();
++
+ connect( JobQueue::instance(), &JobQueue::progress, this, &ExecutionViewStep::updateFromJobQueue );
++
++ if ( auto* gs = JobQueue::instance()->globalStorage() )
++ {
++ connect( gs,
++ &GlobalStorage::changed,
++ this,
++ [ this, gs ]()
++ {
++ const bool naploKell = gs->value( QStringLiteral( "raveosNaplo" ) ).toBool();
++ const bool naploLatszik = m_tab_widget->currentIndex() == 1;
++ if ( naploKell != naploLatszik )
++ {
++ toggleLog();
++ }
++ },
++ Qt::QueuedConnection );
++ }
+ }
+
+ QString
+@@ -217,6 +239,14 @@
+ {
+ m_label->setText( message );
+ }
++ if ( auto* gs = JobQueue::instance()->globalStorage() )
++ {
++ gs->insert( QStringLiteral( "raveosHaladas" ), percent );
++ if ( !message.isEmpty() )
++ {
++ gs->insert( QStringLiteral( "raveosUzenet" ), message );
++ }
++ }
+ }
+
+ void