Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting http://91.221.70.94:3000/MOS/OpenBoard/blame/commit/0963afc1688df5d6655acabd9a357bcbd78ed221/src/gui/UBDockDownloadWidget.cpp You should set ROOT_URL correctly, otherwise the web may not work correctly.
новые иконки в OpenBoard
OpenBoard/src/gui/UBDockDownloadWidget.cpp

54 lines
1.5 KiB

/*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
13 years ago
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "UBDockDownloadWidget.h"
#include "core/UBApplication.h"
#include "globals/UBGlobals.h"
#include "core/memcheck.h"
UBDockDownloadWidget::UBDockDownloadWidget(QWidget *parent, const char *name):UBDockPaletteWidget(parent, name)
, mpLayout(NULL)
, mpDLWidget(NULL)
{
mName = "DownloadWidget";
mVisibleState = false;
SET_STYLE_SHEET();
mIconToLeft = QPixmap(":images/download_open.png");
mIconToRight = QPixmap(":images/download_close.png");
mpLayout = new QVBoxLayout(this);
setLayout(mpLayout);
mpDLWidget = new UBDownloadWidget(this);
mpLayout->addWidget(mpDLWidget);
}
UBDockDownloadWidget::~UBDockDownloadWidget()
{
if(NULL != mpDLWidget)
{
delete mpDLWidget;
mpDLWidget = NULL;
}
if(NULL != mpLayout)
{
delete mpLayout;
mpLayout = NULL;
}
}