linux compatibility fix

This commit is contained in:
Roy Qu 2022-07-24 10:02:36 +08:00
parent 3d42cdf6c3
commit fdbf86e774
4 changed files with 12 additions and 3 deletions

View File

@ -67,6 +67,8 @@
#include <QTextBlock>
#include <QTranslator>
#include <QFileIconProvider>
#include <QMimeDatabase>
#include <QMimeType>
#include "mainwindow.h"
#include <QScrollBar>
#include <QTextDocumentFragment>

View File

@ -28,12 +28,12 @@ void FormatterPathWidget::doSave()
pSettings->environment().setAStylePath(ui->txtAstyle->text());
}
void FormatterPathWidget::updateIcons(const QSize &size)
void FormatterPathWidget::updateIcons(const QSize &/*size*/)
{
pIconsManager->setIcon(ui->btnChooseAstyle, IconsManager::ACTION_FILE_OPEN_FOLDER);
}
void FormatterPathWidget::on_btnChooseAstyle_triggered(QAction *arg1)
void FormatterPathWidget::on_btnChooseAstyle_triggered(QAction */*arg1*/)
{
QString fileName = QFileDialog::getOpenFileName(
this,

View File

@ -108,9 +108,10 @@ bool isTextAllAscii(const QString& text) {
return true;
}
#ifdef Q_OS_WIN
static bool gIsGreenEdition = true;
static bool gIsGreenEditionInited = false;
#endif
bool isGreenEdition()
{
#ifdef Q_OS_WIN

View File

@ -1,3 +1,9 @@
redpanda-cpp (1.1.5-1) unstable; urgency=medium
* Update to 1.1.5
-- Roy Qu (瞿华) <royqh1979@gmail.com> Sat, 23 Jul 2022 22:39:00 +0800
redpanda-cpp (1.1.3-1) unstable; urgency=medium
* Update to 1.1.3