Compare commits
	
		
			2 Commits
		
	
	
		
			v1.0.0-rc.
			...
			v1.0.0-rc.
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|  | 6136e4f0cd | ||
|  | faf8e72314 | 
| @@ -117,7 +117,7 @@ setInterval(() => { | |||||||
|   ) { |   ) { | ||||||
|     for (const el of document.getElementsByClassName("info-3pQQBb")) { |     for (const el of document.getElementsByClassName("info-3pQQBb")) { | ||||||
|       const aboutEl = document.createElement("div"); |       const aboutEl = document.createElement("div"); | ||||||
|       aboutEl.innerText = "discord-screenaudio v1.0.0-rc.3"; |       aboutEl.innerText = "discord-screenaudio v1.0.0-rc.4"; | ||||||
|       aboutEl.style.fontSize = "12px"; |       aboutEl.style.fontSize = "12px"; | ||||||
|       aboutEl.style.color = "var(--text-muted)"; |       aboutEl.style.color = "var(--text-muted)"; | ||||||
|       aboutEl.classList.add("dirscordScreenaudioAboutText"); |       aboutEl.classList.add("dirscordScreenaudioAboutText"); | ||||||
|   | |||||||
| @@ -7,7 +7,7 @@ | |||||||
| int main(int argc, char *argv[]) { | int main(int argc, char *argv[]) { | ||||||
|   QApplication app(argc, argv); |   QApplication app(argc, argv); | ||||||
|   QApplication::setApplicationName("discord-screenaudio"); |   QApplication::setApplicationName("discord-screenaudio"); | ||||||
|   QApplication::setApplicationVersion("1.0.0-rc.3"); |   QApplication::setApplicationVersion("1.0.0-rc.4"); | ||||||
|  |  | ||||||
|   QCommandLineParser parser; |   QCommandLineParser parser; | ||||||
|   parser.setApplicationDescription( |   parser.setApplicationDescription( | ||||||
|   | |||||||
| @@ -24,7 +24,7 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent) { | |||||||
|  |  | ||||||
| void MainWindow::setupWebView() { | void MainWindow::setupWebView() { | ||||||
|   m_webView = new QWebEngineView(this); |   m_webView = new QWebEngineView(this); | ||||||
|   auto page = new DiscordPage; |   auto page = new DiscordPage(this); | ||||||
|   m_webView->setPage(page); |   m_webView->setPage(page); | ||||||
|   setCentralWidget(m_webView); |   setCentralWidget(m_webView); | ||||||
| } | } | ||||||
|   | |||||||
| @@ -12,24 +12,24 @@ | |||||||
| StreamDialog::StreamDialog() : QWidget() { | StreamDialog::StreamDialog() : QWidget() { | ||||||
|   setAttribute(Qt::WA_QuitOnClose, false); |   setAttribute(Qt::WA_QuitOnClose, false); | ||||||
|  |  | ||||||
|   auto layout = new QVBoxLayout; |   auto layout = new QVBoxLayout(this); | ||||||
|  |  | ||||||
|   auto targetLabel = new QLabel; |   auto targetLabel = new QLabel(this); | ||||||
|   targetLabel->setText("Which app do you want to stream sound from?"); |   targetLabel->setText("Which app do you want to stream sound from?"); | ||||||
|   layout->addWidget(targetLabel); |   layout->addWidget(targetLabel); | ||||||
|  |  | ||||||
|   m_targetComboBox = new QComboBox; |   m_targetComboBox = new QComboBox(this); | ||||||
|   updateTargets(); |   updateTargets(); | ||||||
|   layout->addWidget(m_targetComboBox); |   layout->addWidget(m_targetComboBox); | ||||||
|  |  | ||||||
|   auto qualityLabel = new QLabel; |   auto qualityLabel = new QLabel(this); | ||||||
|   qualityLabel->setText("Stream Quality"); |   qualityLabel->setText("Stream Quality"); | ||||||
|   layout->addWidget(qualityLabel); |   layout->addWidget(qualityLabel); | ||||||
|  |  | ||||||
|   auto qualityHBox = new QHBoxLayout; |   auto qualityHBox = new QHBoxLayout(this); | ||||||
|   layout->addLayout(qualityHBox); |   layout->addLayout(qualityHBox); | ||||||
|  |  | ||||||
|   m_qualityResolutionComboBox = new QComboBox; |   m_qualityResolutionComboBox = new QComboBox(this); | ||||||
|   m_qualityResolutionComboBox->addItem("2160p", "3840x2160"); |   m_qualityResolutionComboBox->addItem("2160p", "3840x2160"); | ||||||
|   m_qualityResolutionComboBox->addItem("1440p", "2560x1440"); |   m_qualityResolutionComboBox->addItem("1440p", "2560x1440"); | ||||||
|   m_qualityResolutionComboBox->addItem("1080p", "1920x1080"); |   m_qualityResolutionComboBox->addItem("1080p", "1920x1080"); | ||||||
| @@ -40,7 +40,7 @@ StreamDialog::StreamDialog() : QWidget() { | |||||||
|   m_qualityResolutionComboBox->setCurrentText("720p"); |   m_qualityResolutionComboBox->setCurrentText("720p"); | ||||||
|   qualityHBox->addWidget(m_qualityResolutionComboBox); |   qualityHBox->addWidget(m_qualityResolutionComboBox); | ||||||
|  |  | ||||||
|   m_qualityFPSComboBox = new QComboBox; |   m_qualityFPSComboBox = new QComboBox(this); | ||||||
|   m_qualityFPSComboBox->addItem("144 FPS", 144); |   m_qualityFPSComboBox->addItem("144 FPS", 144); | ||||||
|   m_qualityFPSComboBox->addItem("60 FPS", 60); |   m_qualityFPSComboBox->addItem("60 FPS", 60); | ||||||
|   m_qualityFPSComboBox->addItem("30 FPS", 30); |   m_qualityFPSComboBox->addItem("30 FPS", 30); | ||||||
| @@ -49,7 +49,7 @@ StreamDialog::StreamDialog() : QWidget() { | |||||||
|   m_qualityFPSComboBox->setCurrentText("30 FPS"); |   m_qualityFPSComboBox->setCurrentText("30 FPS"); | ||||||
|   qualityHBox->addWidget(m_qualityFPSComboBox); |   qualityHBox->addWidget(m_qualityFPSComboBox); | ||||||
|  |  | ||||||
|   auto button = new QPushButton; |   auto button = new QPushButton(this); | ||||||
|   button->setText("Start Stream"); |   button->setText("Start Stream"); | ||||||
|   connect(button, &QPushButton::clicked, this, &StreamDialog::startStream); |   connect(button, &QPushButton::clicked, this, &StreamDialog::startStream); | ||||||
|   layout->addWidget(button, Qt::AlignRight | Qt::AlignBottom); |   layout->addWidget(button, Qt::AlignRight | Qt::AlignBottom); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user