Skip to content

Commit

Permalink
fix: Include qobject.h and Add string literal to fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
xypp3 committed Apr 18, 2024
1 parent 83c1433 commit d75d936
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/seamly2d/dialogs/export_layout_dialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -763,7 +763,7 @@ void ExportLayoutDialog::writeSettings() const
*/
QString ExportLayoutDialog::modeString() const
{
QString modeStr = QStringLiteral();
QString modeStr = QStringLiteral("");
if (qApp->Seamly2DSettings()->useModeType())
{
switch (m_mode)
Expand Down
1 change: 1 addition & 0 deletions src/libs/ifc/ifcdef.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
#include <QString>

#include "../vmisc/diagnostic.h"
#include "qobject.h"

const QString CustomMSign = QStringLiteral("@");
const QString CustomIncrSign = QStringLiteral("#");
Expand Down

0 comments on commit d75d936

Please sign in to comment.