mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
BC412: add to backend_tcl; add skeleton test
GUI: allow for Qt not parsing #if's in slots (copy_to_clipboard_png())
This commit is contained in:
@ -1282,6 +1282,8 @@ void MainWindow::copy_to_clipboard_png()
|
||||
{
|
||||
copy_to_clipboard(QSL(".zint.png"), QSL("PNG"));
|
||||
}
|
||||
#else
|
||||
void MainWindow::copy_to_clipboard_png() {} // Workaround Qt not parsing #ifndef NO_PNG in slots
|
||||
#endif
|
||||
|
||||
void MainWindow::copy_to_clipboard_svg()
|
||||
|
@ -102,9 +102,7 @@ public slots:
|
||||
void copy_to_clipboard_emf();
|
||||
void copy_to_clipboard_eps();
|
||||
void copy_to_clipboard_gif();
|
||||
#ifndef NO_PNG
|
||||
void copy_to_clipboard_png();
|
||||
#endif
|
||||
void copy_to_clipboard_png(); // Note Qt can't handle #ifndef NO_PNG in slots
|
||||
void copy_to_clipboard_pcx();
|
||||
void copy_to_clipboard_svg();
|
||||
void copy_to_clipboard_tif();
|
||||
|
Reference in New Issue
Block a user