Skip to content

Commit

Permalink
Revert "chore: update ci actions"
Browse files Browse the repository at this point in the history
This reverts commit 96fc01a.
  • Loading branch information
L-Super committed Oct 13, 2024
1 parent a642baf commit 1406e4d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 12 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ on:
jobs:
linux-build:
runs-on: ubuntu-latest

strategy:
# Set fail-fast to false to ensure that feedback is delivered for all matrix combinations.
# Consider changing this to true when your workflow is stable.
Expand Down
4 changes: 1 addition & 3 deletions src/DownloadItemWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,7 @@ void DownloadItemWidget::onOpenFileButtonClicked()
}
}

void DownloadItemWidget::onMoreInfoButtonClicked() {
emit completeDownloadSignal();
}
void DownloadItemWidget::onMoreInfoButtonClicked() {}

void DownloadItemWidget::onCompleteDownload()
{
Expand Down
6 changes: 0 additions & 6 deletions src/DownloadListWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,6 @@ DownloadListWidget::DownloadListWidget(QWidget* parent) : QWidget(parent), ui(ne
// expand tab bar
ui->tabWidget->setDocumentMode(true);
ui->tabWidget->tabBar()->setExpanding(true);

// test code
for (int i = 0; i < 5; ++i) {
auto item = new DownloadItemWidget(i, ui->downloadingListWidget);
addDownloadingItem(item);
}
}

DownloadListWidget::~DownloadListWidget()
Expand Down
6 changes: 3 additions & 3 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include <QDir>
#include <QFile>
#include <QIcon>
//#include <SingleApplication>
#include <SingleApplication>

#include "Logger.hpp"
#include "MainWindow.h"
Expand All @@ -28,7 +28,7 @@ void initLogger()

int main(int argc, char* argv[])
{
QApplication a(argc, argv);
SingleApplication a(argc, argv);
a.setApplicationName("FlowD");

initLogger();
Expand All @@ -49,7 +49,7 @@ int main(int argc, char* argv[])
w.setWindowTitle("FlowD " + QString(VERSION_STR));
w.show();

// QObject::connect(&a, &SingleApplication::instanceStarted, &w, &MainWindow::show);
QObject::connect(&a, &SingleApplication::instanceStarted, &w, &MainWindow::show);

return QApplication::exec();
}

0 comments on commit 1406e4d

Please sign in to comment.