diff options
author | Javier <dev.git@javispedro.com> | 2020-09-12 02:21:04 +0200 |
---|---|---|
committer | Javier <dev.git@javispedro.com> | 2020-09-12 02:21:04 +0200 |
commit | c2eca928c5a7be0444fcb5c41ffe77b557714575 (patch) | |
tree | af7d2ed9e2b018a4ea95329bb944853f41cf088f /main.cc | |
parent | 20de09ffbaa00ab3adf91e49b847eb0061315b1e (diff) | |
download | scribiu-c2eca928c5a7be0444fcb5c41ffe77b557714575.tar.gz scribiu-c2eca928c5a7be0444fcb5c41ffe77b557714575.zip |
when zooming out, place pages on a grid layout
Diffstat (limited to 'main.cc')
-rw-r--r-- | main.cc | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -18,6 +18,7 @@ #include "mainwindow.h" #include <QtWidgets/QApplication> +#include <QtGui/QPixmapCache> int main(int argc, char *argv[]) { @@ -30,6 +31,8 @@ int main(int argc, char *argv[]) app.setApplicationName("scribiu"); app.setApplicationVersion("1.2"); + QPixmapCache::setCacheLimit(100 * 1024); + MainWindow w; w.show(); |