Commit d2e5b878 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix some compile against qt6

parent af690912
Pipeline #175285 passed with stage
in 3 minutes and 54 seconds
......@@ -506,7 +506,7 @@ struct MainWindow::Private {
#ifdef KF5Purpose_FOUND
mShareAction = new KToolBarPopupAction(QIcon::fromTheme("document-share"), i18nc("@action Share images", "Share"), q);
mShareAction->setDelayed(false);
mShareAction->setPopupMode(QToolButton::DelayedPopup);
actionCollection->addAction("share", mShareAction);
mShareMenu = new Purpose::Menu(q);
mShareAction->setMenu(mShareMenu);
......
......@@ -24,6 +24,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#include <QFontDatabase>
#include <QIcon>
#include <QLabel>
#include <QMenu>
#include <QPainter>
#include <QStyle>
#include <QStyleOptionTab>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment