Skip to content

Commit

Permalink
pre-release 0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
ctlcltd committed Mar 18, 2023
1 parent bcd7142 commit 8b34673
Showing 7 changed files with 9 additions and 3 deletions.
3 changes: 3 additions & 0 deletions src/ftpcom/ftpcom.cpp
Original file line number Diff line number Diff line change
@@ -11,6 +11,7 @@

#include <cstdio>
#include <cstring>
#include <clocale>
#include <algorithm>
#include <string>
#include <filesystem>
@@ -25,6 +26,8 @@ namespace e2se_ftpcom

ftpcom::ftpcom()
{
std::setlocale(LC_NUMERIC, "C");

this->log = new e2se::logger("ftpcom", "ftpcom");

curl_global_init(CURL_GLOBAL_DEFAULT);
1 change: 1 addition & 0 deletions src/gui/channelBookView.cpp
Original file line number Diff line number Diff line change
@@ -87,6 +87,7 @@ void channelBookView::layout()
this->list = new QTreeWidget;
this->tabv = new QTabBar;

//TODO improve vertical expanding [Windows]
tabv->setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Ignored);

list->setStyleSheet("QTreeWidget::item { padding: 2px 0 }");
1 change: 1 addition & 0 deletions src/gui/gui.cpp
Original file line number Diff line number Diff line change
@@ -45,6 +45,7 @@ gui::gui(int argc, char* argv[])

this->log = new logger("gui", "gui");

//TODO FIX locale warning wrong detected as US-ASCII [Qt6] [Xcode] [macOS]
this->mroot = new QApplication(argc, argv);
mroot->setOrganizationName("e2 SAT Editor Team");
mroot->setOrganizationDomain("e2se.org");
2 changes: 1 addition & 1 deletion src/gui/mainView.cpp
Original file line number Diff line number Diff line change
@@ -65,7 +65,7 @@ void mainView::layout()

QGridLayout* frm = new QGridLayout(widget);

//TODO vertical scrollbar 1px gap [GTK+]
//TODO vertical scrollbar 1px gap [Linux] [Windows]
QSplitter* swid = new QSplitter;
#ifdef Q_OS_MAC
swid->setStyleSheet("QSplitter::handle {}");
2 changes: 1 addition & 1 deletion src/gui/settings.cpp
Original file line number Diff line number Diff line change
@@ -282,7 +282,7 @@ void settings::preferencesLayout()
dtform->addItem(new QSpacerItem(0, 5));
dtform->addWidget(dtl2);
dtform->addItem(new QSpacerItem(0, 5));
//TODO FIX column gap [Windows]
//TODO FIX column gap [Linux] [Windows]
dtform->addWidget(dtl3);
dtform->addItem(new QSpacerItem(0, 0));

1 change: 1 addition & 0 deletions src/gui/viewAbstract.cpp
Original file line number Diff line number Diff line change
@@ -146,6 +146,7 @@ void viewAbstract::searchLayout()
this->lsr_search.input->connect(this->lsr_search.input, &QLineEdit::textChanged, [=](const QString& text) { this->listFindPerform(text, LIST_FIND::fast); });
platform::osLineEdit(this->lsr_search.input);

//TODO FIX text color [Windows]
this->lsr_search.highlight = new QPushButton;
this->lsr_search.highlight->setObjectName("list_search_highlight");
this->lsr_search.highlight->setText("Highlight");
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@

int main(int argc, char* argv[])
{
bool DEBUG = true;
bool DEBUG = false;

if (const char* envp = std::getenv("DEBUG"))
{

0 comments on commit 8b34673

Please sign in to comment.