aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-10-10 15:39:33 +0200
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-10-10 20:47:18 +0200
commit7a7d9dc216ecf0bf7200666b479fb08c0edec834 (patch)
tree30957e51979a26f5baaf54e0c3f193d9689fe92c /CMakeLists.txt
parent8cb79ee6711b3db3f138db6367752053f45efc17 (diff)
Replace QInputDialog with custom dialog for queriesquery-dialog
Recent commits allowed multi-line input while reusing the QInputDialog object already defined by Kristall. However, QInputDialog lacks a way to access its QPlainTextEdit directly, and therefore set the wrap mode. Since QInputDialog does no wrapping, it is inconvenient for writing a long text (think of social media sites such as BBS or Station). Therefore, a custom QDialog-derived class, namely QueryDialog, has been provided.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b5e1924..2a87adf 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -89,6 +89,8 @@ set(PROJECT_SOURCES
src/widgets/ssltrusteditor.cpp
src/widgets/favouritepopup.cpp
src/widgets/favouritebutton.cpp
+ src/widgets/querydialog.ui
+ src/widgets/querydialog.cpp
src/cachehandler.cpp
src/widgets/searchbox.cpp
src/browsertab.ui