Compare commits
6 Commits
Author | SHA1 | Date | |
---|---|---|---|
e92ccb0986 | |||
3e51cd5603 | |||
71e8df3107 | |||
8b86fb1434 | |||
038d04b3da | |||
69802a433e |
@ -201,7 +201,7 @@ elseif (UNIX)
|
||||
|
||||
# install app metadata file for appstream (and some other stuff using this metadata like snapcraft)
|
||||
install (
|
||||
FILES dist/appstream/net.blumia.pineapple-pictures.appdata.xml
|
||||
FILES dist/appstream/net.blumia.pineapple-pictures.metainfo.xml
|
||||
DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/metainfo"
|
||||
)
|
||||
endif()
|
||||
|
@ -51,8 +51,8 @@ void GraphicsScene::showSvg(const QString &filepath)
|
||||
void GraphicsScene::showAnimated(const QString &filepath)
|
||||
{
|
||||
this->clear();
|
||||
QMovie * movie = new QMovie(filepath);
|
||||
QLabel * label = new QLabel;
|
||||
QMovie * movie = new QMovie(filepath, QByteArray(), label);
|
||||
label->setStyleSheet("background-color:rgba(225,255,255,0);");
|
||||
label->setMovie(movie);
|
||||
this->addWidget(label);
|
||||
|
@ -50,7 +50,7 @@ MainWindow::MainWindow(QWidget *parent)
|
||||
m_floatUpAnimation = new QPropertyAnimation(this, "geometry");
|
||||
m_floatUpAnimation->setDuration(300);
|
||||
m_floatUpAnimation->setEasingCurve(QEasingCurve::OutCirc);
|
||||
m_exitAnimationGroup = new QParallelAnimationGroup;
|
||||
m_exitAnimationGroup = new QParallelAnimationGroup(this);
|
||||
m_exitAnimationGroup->addAnimation(m_fadeOutAnimation);
|
||||
m_exitAnimationGroup->addAnimation(m_floatUpAnimation);
|
||||
connect(m_exitAnimationGroup, &QParallelAnimationGroup::finished,
|
||||
|
@ -32,6 +32,7 @@ void NavigatorView::updateMainViewportRegion()
|
||||
{
|
||||
if (m_mainView != nullptr) {
|
||||
m_viewportRegion = mapFromScene(m_mainView->mapToScene(m_mainView->rect()));
|
||||
update();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -102,7 +102,7 @@ build_script:
|
||||
- cd kimageformats
|
||||
- mkdir build
|
||||
- cd build
|
||||
- cmake .. -G "Ninja" -DCMAKE_BUILD_TYPE=Release -DQT_PLUGIN_INSTALL_DIR=%QTPATH%\plugins
|
||||
- cmake .. -G "Ninja" -DCMAKE_BUILD_TYPE=Release -DKDE_INSTALL_QTPLUGINDIR=%QTPATH%\plugins
|
||||
- cmake --build . --config Release
|
||||
- cmake --build . --config Release --target install/strip
|
||||
- cd %APPVEYOR_BUILD_FOLDER%
|
||||
|
Reference in New Issue
Block a user