linux compatibility fix
This commit is contained in:
parent
3d42cdf6c3
commit
fdbf86e774
|
@ -67,6 +67,8 @@
|
|||
#include <QTextBlock>
|
||||
#include <QTranslator>
|
||||
#include <QFileIconProvider>
|
||||
#include <QMimeDatabase>
|
||||
#include <QMimeType>
|
||||
#include "mainwindow.h"
|
||||
#include <QScrollBar>
|
||||
#include <QTextDocumentFragment>
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue